Hi Martin, IIRC a safer number would be 4 texture units; after that, extra texture units are usually only exposed via shaders. I know this is true for most (if not all) NVIDIA GeForce cards.
Out of curiosity: can you do anything useful in practice with 8 texture units without using shaders? Cheers, Tanguy -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Martin Großer Sent: Monday 12 January 2009 13:54 To: 'OpenSceneGraph Users' Subject: Spam: Re: [osg-users] texture limit? 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 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org