Hi!
I have a little issue with a scene with shadows.
I need to have within a scene that has shadows an object that doesn't
cast and doesn't receive shadows.
Here is what I do:
constintReceivesShadowTraversalMask=0x1;
constintCastsShadowTraversalMask=0x2;
intmask=geode->getNodeMask()&~CastsShadowTraversalMask&~ReceivesShadowTraversalMask;
geode->setNodeMask(mask);
The geode doesn't cast shadows as expected. But unfortunately it receives
shadow.
I have to mention that the object is in the transparent bin.
How can I prevent the object from receiving shadows?
- Werner -
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org