On 7/7/2011 11:02 AM, Paul Martz wrote:
According to the GLSL spec, results from shadow2D and friends is undefined if the texture is not a depth format.
Another thought is what version of GLSL you're invoking. If you use shadow2D() to sample the texture, that's good for GLSL 1.20, but is deprecated in 1.30 and beyond (in which you simply use texture2D() to sample the texture, even if it's a shadow texture).
-Paul _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

