[osg-users] shadows on light points
Trajce Nikolov NICK
trajce.nikolov.nick at gmail.com
Thu Feb 11 01:05:33 PST 2021
Hi Community,
I am attaching a screenshot. In my scene I have LightPointNodes and
shadowed scene with
osg::ref_ptr<osgShadow::ShadowedScene> shadowedScene = new
osgShadow::ShadowedScene;
shadowedScene->setReceivesShadowTraversalMask(ReceivesShadowTraversalMask);
shadowedScene->setCastsShadowTraversalMask(CastsShadowTraversalMask);
static int ReceivesShadowTraversalMask = 0x10;
static int CastsShadowTraversalMask = 0x20;
the LightPontNodes have
setNodeMask(0x100);
I am still seeing shadowed lightpoints as in the image attached. Any clue
someone?
--
trajce nikolov nick
--
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/CAO-%2Bzi%3DPueRmLo3eYEMejW%3Dp%2BBRfPsco2PKFG%2BkGTYrka-3w6Q%40mail.gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20210211/8b606684/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shadows on lp.jpg
Type: image/jpeg
Size: 129539 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20210211/8b606684/attachment-0001.jpg>
More information about the osg-users
mailing list