[osg-users] diable tex gen

Robert Osfield robert.osfield at gmail.com
Fri Oct 2 00:17:38 PDT 2015


Hi Nick,

On 1 October 2015 at 19:52, Trajce Nikolov NICK <
trajce.nikolov.nick at gmail.com> wrote:

> I bit of simple question: How to disable TexGen totally?
>

For all users of the OSG users simultaneously?  Which is clearly a bit
harsh.   Or just for for your own scene graph?

Presuming your are hell bent of global domination I will assume that
later.  However, left with another question, for a shader or fixed function
based scene graph?

For the former, modify your shaders, for the later simply toggle the
GL_TEXTURE_GEN_S, T, R and Q modes via a StateSet attached to the top of
the scene graph/view's master Camera.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151002/e6db23a8/attachment-0003.htm>


More information about the osg-users mailing list