Shadows problem
Shadows problem
Hi, i created my scene in irrEdit, all meshes are static. All of them are set to "ReceivesShadows" and there is one source of light, "Point" light, which is flying around the scene. Light is configured to "Cast shadows". When i load the scene from my application i can't see any shadows on the floor or any of the walls. Why? I set the stencil buffer to true when creating device. I can see light moving around but i can't see any shadows. I will be thankful for any help.
Sorry for my english.
did you enable lighting?
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
hmm i'm not sure then, wait for other users to reply, or ask this question at irrEdit forum (http://www.ambiera.com/forum.php?f=2) as the creator of irrlicht and irredit is there to answer your quesion
oh by the way our names are so similar
oh by the way our names are so similar
My company: http://www.kloena.com
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
My blog: http://www.zhieng.com
My co-working space: http://www.deskspace.info
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
You either have to calculate the lightmapping shadows from within irrEdit, and bake them to the meshes. Or you have to add ShadowVolumes to the meshes, which will create the necessary stuff for shadowing. A last option, for better performance with dynamic lights, is to use ShadowMapping with XEffects. This is not possible from within irrEdit AFAIK.