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...)
Search found 8 matches
- Thu Aug 27, 2009 2:55 pm
- Forum: Advanced Help
- Topic: White shadows with second camera node
- Replies: 2
- Views: 414
- Thu Aug 27, 2009 11:12 am
- Forum: Advanced Help
- Topic: White shadows with second camera node
- Replies: 2
- Views: 414
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?
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?
- Sun Aug 16, 2009 1:05 pm
- Forum: Project Announcements
- Topic: XEffects - Reloaded - New Release (V 1.4)
- Replies: 826
- Views: 433772
- Sun Aug 16, 2009 11:18 am
- Forum: Project Announcements
- Topic: XEffects - Reloaded - New Release (V 1.4)
- Replies: 826
- Views: 433772
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_TRANSPAREN...
- Sat Aug 15, 2009 4:26 pm
- Forum: Project Announcements
- Topic: XEffects - Reloaded - New Release (V 1.4)
- Replies: 826
- Views: 433772
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.imag...
- Mon Aug 03, 2009 11:13 am
- Forum: Code Snippets
- Topic: My shaders
- Replies: 11
- Views: 3213
- Mon Aug 03, 2009 11:12 am
- Forum: Code Snippets
- Topic: My shaders
- Replies: 11
- Views: 3213
- Sun Aug 02, 2009 4:44 pm
- Forum: Code Snippets
- Topic: My shaders
- Replies: 11
- Views: 3213