Mesh geometries can cast shadow ??

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
thanvilk
Posts: 23
Joined: Tue Mar 15, 2011 6:39 pm
Location: india

Mesh geometries can cast shadow ??

Post by thanvilk »

As i tried to cast shadow of of mesh objects created by IGeometry class's method name as createSphereMesh()...that creates mesh sphere scene node !

But may be there is not any method addShadowVolumeSceneNode() for static meshes in irrlicht !

My question : Is it is not possible to cast shadows those are not animated in irrlicht engine !
as addShadowVolumeSceneNode() method is available for only animated meshes !

I want to cast shadow for those objects that are not animated meshes.. for only static meshes or simple primities !

is there is any method available or procedure for casting shadows that are static mesh or for primitives shapes ???

Please if it is possible then notify me !

thanks in advance !
Laxmikant Thanvi
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

For now, you have to add your static mesh into an animated mesh (with just one frame) and use the shadow routine there. Starting with Irrlicht 1.8 it will also be possible with static meshes without this burden.
Post Reply