[osg-users] diable tex gen

Trajce Nikolov NICK trajce.nikolov.nick at gmail.com
Fri Oct 2 01:22:44 PDT 2015


>  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.

That was it ... Thanks !!!

Nick

On Fri, Oct 2, 2015 at 9:17 AM, Robert Osfield <robert.osfield at gmail.com>
wrote:

> 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.
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


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


More information about the osg-users mailing list