[osg-users] Issue with shadow

Suraj Paul suraj at isac.gov.in
Thu Sep 15 09:52:28 PDT 2016


Hi All,

I have a scene in which a node is [b]moving over a terrain[/b] at a certain height. 
I also have a light source in the scene.
The node correctly casts shadow on the terrain. Also the parts of node like its limbs/appendages show shadow on the central body of the node as expected. 

However, I observe that the node shows a glittering appearance i.e the parts of the node looks sometimes dark and sometimes its bright as the node moves in the scene.
(see the attached two snapshots of the face ). The position of the light source is fixed.

Any clues on what could be the cause(s) of such a behavior? Anything else I need to set in the shadow map?
How to solve this issue?

I have only the terrain, node and a light source in the scene graph. 
... 

Thank you!

Cheers,
Suraj

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68623#68623




Attachments: 
http://forum.openscenegraph.org//files/instantb_159.png
http://forum.openscenegraph.org//files/instanta_731.png





More information about the osg-users mailing list