Hi,

No shadow with 0,0,1 is a bug. I'm not sure where ist comes from.
The length in the shader was a test I forgot to revert this change. 
-viewspacePosition.z shold be used instead in both cases.
1000.0 is my far plane, i write the depth value unormalized [near, far].

Thank you!

Cheers,
Marcel

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to