Hi,

i will try uniform arrays as soon as i get to it. But the approach sounds quite 
good. 
Thank you.


Paul Martz wrote:
> I believe you can use a uniform array of samplers. This means the number of 
> texture can be arbitrary and therefore you don't need to recompile your 
> shader based on number of textures.
>  


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=16924#16924





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to