shadows on light points

10 views
Skip to first unread message

Trajce Nikolov NICK

unread,
Feb 11, 2021, 4:05:45 AM2/11/21
to osg-...@googlegroups.com
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
shadows on lp.jpg
Reply all
Reply to author
Forward
0 new messages