[osg-users] put a uniform array in my GLSL shader ?

David Callu ledocc at gmail.com
Tue Sep 11 05:52:25 PDT 2007


Hi mael

  never try but probably with osg::Uniform::setArray(FloatArray * array);

David Callu

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?
>
> thanks
>
> Mael.
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070911/2c595759/attachment-0003.htm>


More information about the osg-users mailing list