Hi Robert,

I don't believe its safe to just void the using of shaders, as the
shaders may well move the geometry around, or cull fragments so
disabling this could result in the wireframe being in the wrong place.

You're right. Is there a more generic solution? Can an osg::Program be made that only has an empty fragment shader, so that the original vertex shader remains?

There isn't an easy solution this I'm afraid, shaders are easy to just
tweak a specific section of.

Thinking about it, I think you're right. It would be nice to have a Scribe effect that always works, but there may be some border cases we can't predict, so this may be impossible. Sorry for wasting your time.

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to