[osg-users] dinamically getting uniforms
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...
More information about the osg-users