Hi,

you write the depth in your first texture component(accessed from the shader 
with .r,  .x or .s). But you read it from the third component of your 
texture(.z). I know it looks confusing at first to read the depth from .x, but 
this is actually right.

Thank you!

Cheers,
Marcel

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





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

Reply via email to