Hi,

On 6/6/07, amalric alexandre <[EMAIL PROTECTED]> wrote:


Hi Robert and Cory,

Thanks to this post I'm going to make multi-texturing too for my project,
but I have one question :

1) How much unit of multi-texture can be set at maximum, 4, 8, 16 ... ??

Does it depends on Graphic Card or OpenGL ??



It depends on the graphic card. :)
You can get it with
texture->getExtensions(0, false)->numTextureUnits();
(texture is an osg::Texture2D)

--
Serge Lages
http://www.magrathea-engine.org
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to