[osg-users] Issue with shadow

Suraj Paul suraj at isac.gov.in
Tue Sep 27 07:22:49 PDT 2016


Hi marchingcubes ,

I tried with softshadow technique. It has reduced the flickering of the shadow and made the shadow of the moving node on the terrian moe well defined. Increasing the 'textureSize' from 1024 to 8192 helped me. 

However, the flickering of the surface of the moving node is still there and i get no clue how to resolve this issue. The node is scaled .osg file. The normals are defined and i have rescaled the normal also. Still no solution to the flickering problem.
I also noticed that, when i render the node thorugh a "shadowedScene", the flickering occurs on the faces of the node but rendering the node in a 'group' node gives it the expected look. (ofcourse, I loose the shadow!). Any suggestions, plz??

... 

Thank you!

Cheers,
Suraj

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








More information about the osg-users mailing list