Hi,

Exactly which example are you referring to?  Depending on the default
zero initialization of texture samplers is Bad Form (as demonstrated by
your own confusion).  If the example is part of OSG, it should be fixed
to demonstrate best practices.

-- mew


Mike Weiblen -- Zebra Imaging -- Austin Texas USA --
http://www.zebraimaging.com/


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Thursday, June 07, 2007 8:07 AM
> To: osg users
> Subject: Re: [osg-users] Re: Re: Asking again about states in
> shaders,andtexturing issues (Ulrich Hertlein)
> 
> Hi again,
> thanks, now with this information it changes all my perspective about
the
> textures (I'm less concerned :) ).
> 
> the example I was talking about was GLSL example, and I think it
worked
> only
> because probably the default value for the uniform sampler is zero and
the
> texture unit in the stateset was zero.
> 
> thanks a lot,
>  Guy.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to