Might be easiest to just use a Switch node, with one path applying the program and sampler uniform.
Glenn Waldron / @glennwaldron On Fri, Oct 12, 2012 at 8:18 AM, Filip Arlet <[email protected]> wrote: > Hi, > > I pass data to my shader in texture which is attached to Group StateSet. > If I want to render something in fixed pipilene function, under that > StateSet. It will use that texture, but I do not want to do it. I just want > to pass sampler to shader, but not to texture fixed pipeline. Is there > something to do this ? Or do I have to disable Texture Unit everytime I > want to draw something in fixed pipeline mode ? > > Thank you! > > Cheers, > Filip > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=50576#50576 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

