Search found 8 matches

by kovacevic
Thu Aug 27, 2009 2:55 pm
Forum: Advanced Help
Topic: White shadows with second camera node
Replies: 2
Views: 508

Nevermind, I solved. It must be bug in Irrlicht or in my code.
I just moved 2nd camera creation code right before main loop (after loading level, enemies...)
by kovacevic
Thu Aug 27, 2009 11:12 am
Forum: Advanced Help
Topic: White shadows with second camera node
Replies: 2
Views: 508

White shadows with second camera node

I have normal black shadows, when using only one camera node, but
they change to white if I use another cam. node (first is set as active).
I use second cam. node for projective texturing.

How to get black shadows back?
by kovacevic
Sun Aug 16, 2009 1:05 pm
Forum: Project Announcements
Topic: XEffects - Reloaded - New Release (V 1.4)
Replies: 826
Views: 533288

With IAnimatedMeshSceneNode I have tried node with flash quad only
and also node with weapon mesh+flash quad.


Otherwise, billboard method is ok.
by kovacevic
Sun Aug 16, 2009 11:18 am
Forum: Project Announcements
Topic: XEffects - Reloaded - New Release (V 1.4)
Replies: 826
Views: 533288

I found this thing working only if I use billboard node like this:

IBillboardSceneNode *bsn = smgr->addBillboardSceneNode(0, core::dimension2d<f32>(20, 20));
bsn->setMaterialFlag(video::EMF_LIGHTING, false);
bsn->setMaterialFlag(video::EMF_ZWRITE_ENABLE, false);
bsn->setMaterialType(::EMT ...
by kovacevic
Sat Aug 15, 2009 4:26 pm
Forum: Project Announcements
Topic: XEffects - Reloaded - New Release (V 1.4)
Replies: 826
Views: 533288

I am using XEffects and trying to get weapon flash working.
For weapon mesh, which is made up of weapon itself and quad for flash
I use material EMT_TRANSPARENT_ADD_COLOR.

When I use addShadowToNode for the weapon node, I get this:
(tried all these: ESM_CAST, ESM_RECEIVE, ESM_BOTH)

http://img18 ...
by kovacevic
Mon Aug 03, 2009 11:13 am
Forum: Code Snippets
Topic: My shaders
Replies: 11
Views: 3822

sorry. It is Lightmaps with specularity.
by kovacevic
Mon Aug 03, 2009 11:12 am
Forum: Code Snippets
Topic: My shaders
Replies: 11
Views: 3822

Ok, I fixed that. Source code now added to Normalmaps+spec.
by kovacevic
Sun Aug 02, 2009 4:44 pm
Forum: Code Snippets
Topic: My shaders
Replies: 11
Views: 3822

My shaders

Hi!

Here are my shaders with source code/executable for Irrlicht:


http://www.fps-e.com/shaders.html