Hi David,
 
I'm using osg 2.4 and osgViewer.
 
Regards,
Cg

Date: Thu, 12 Jun 2008 11:09:49 +0200From: [EMAIL PROTECTED]: [EMAIL 
PROTECTED]: Re: [osg-users] Shader Problemhi CGwhen you remove a shader, 
osg::Program need to be relinked.this is done by osgUtil::GLObjectVisitor in 
osgViewer::Renderer::draw method.So this seem can be done at runtime.Which OSG 
version did you use ?Did you use osgViewer ?David Callu
2008/6/12 CG <[EMAIL PROTECTED]>:

Hi all, Are there any ways to remove the shader during runtime? I've tried the 
removeShader function but the effect of the shader is still applied to my 
models (e.g tank) i.e. the appearance of the models do not go back to the state 
before shader is applied. Regards,Cg

Chat online and in real-time with friends and family! Windows Live 
Messenger_______________________________________________osg-users mailing 
[EMAIL 
PROTECTED]://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_________________________________________________________________
Easily publish your photos to your Spaces with Photo Gallery.
http://get.live.com/photogallery/overview
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to