[osg-users] dinamically getting uniforms

Enrico Villani enri.villa at gmail.com
Thu Oct 4 06:49:32 PDT 2007

Hi to all!
    in the app i'm developing there's a section where, in a little words, i
should load any kind of shader GLSL .vert and .frag (such these in orange
book) and apply them to any of the nodes of my loaded model...
the problem is that i can't know what kinds of uniform need to be defined to
the shader... is there a way (a part from parsing manually the vert and frag
files) to get the name and the type of the uniform that the shader need?

Many many thanks in advance..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071004/82060f9e/attachment-0002.htm>

More information about the osg-users mailing list