This might shed some light on the matter: http://developer.nvidia.com/object/General_FAQ.html#t6
T From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Rosario Leonardi Sent: Monday 12 January 2009 14:34 To: OpenSceneGraph Users Subject: Re: [osg-users] texture limit? The limit is imposed by driver, you can read it with the openGL calls int maxTexture; glGetIntegerv(GL_MAX_TEXTURE_IMAGE_UNITS_ARB, &maxTexture); this number should be 16 since geforce 6. BTW, why are you usinge 8 texture? O_O They are a lot. 2009/1/12 Martin Großer <grosser.mar...@gmx.de> Hello Robert, yes, that was what I mean. :-) Also I can use 8, 16 or 32 textures, when this the driver and the hardware this number of textures supports? In my application I use a limit of 8 textures. Is this ok for a average hardware? Cheers. Martin -----Ursprüngliche Nachricht----- Von: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] Im Auftrag von Robert Osfield Gesendet: Montag, 12. Januar 2009 14:35 An: OpenSceneGraph Users Betreff: Re: [osg-users] texture limit? HI Martin, What do you mean by "texture limit per object"? Do you mean how many texture units can be active in OpenGL/OSG at once? If my guess is correct for what you mean then the answer is simply - it's hardware/driver dependant. The answer also depends upon whether you are using shaders or fixed function pipeline as some drivers have a higher limit when using shaders. The OSG itself doesn't apply any limits so you can assign as many texture units as you wish, but it'll only work properly if the underlying OpenGL implementation supports what you are asking from it. Robert. On Mon, Jan 12, 2009 at 1:10 PM, Martin Großer <grosser.mar...@gmx.de> wrote: > Hello, > > I have a simple question. There are a texture limit per object? I thought > there are a limit of 8 textures in OpenGL, but I am not sure. > > A short answer, would be very helpful. > > > Thanks. > > > Martin > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- To be of not to be, this is the FAQ _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org