[osg-users] put a uniform array in my GLSL shader ?
ledocc at gmail.com
Tue Sep 11 05:52:25 PDT 2007
never try but probably with osg::Uniform::setArray(FloatArray * array);
2007/9/11, Mael Blanchard <maelblanc at gmail.com>:
> Hi all,
> I would like to put in my GLSL shader a uniform array variable,
> I know how to put a simple float or int value with osg::Uniform, but for
> an array I don't know
> Is anyone can help me?
> osg-users mailing list
> osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users