Hi Werner, On Fri, Sep 10, 2010 at 1:39 PM, Werner Modenbach <[email protected]> wrote: > Does anybody know if it is possible inside a shader program to querry if a > "uniform sampler2D" was set by uniform attribute or if it contains legal data?
The OSG should report a warning when shaders fail to link and don't have the required uniforms. There isn't any way for the OSG or OpenGL to know what "legal data" is for you shaders, this is all down to you - if you put garbage in you'll get garbage out. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

