Hi,

Can you provide a simple repro case, either .osg scene file or c++
(former preferred).

Cheers
-- mew


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of Nima Bahramifarid
> Sent: Wednesday, April 18, 2007 9:07 AM
> To: osg-users@openscenegraph.net
> Subject: [osg-users] GLSL changes from 1.0 to 1.2?
> 
> We have an OSG application that uses a fragment shader, based on
> OpenSceneGraph 1.0. It uses an osg::Uniform boolean which is set to
false
> at the root of the scene graph, then some nodes down the tree override
it
> to true so their color gets changed by the shader.
> 
> We are in the midst of upgrading to OpenSceneGraph 1.2 and things seem
to
> work fine except for the shader-related Uniforms. It looks like the
state
> is not managed like in 1.0: e.g. one of the geodes (a vehicle) has
that
> Uniform=true so its color gets changed by the shader; in 1.2 this
causes
> the whole patch of terrain, visible under the vehicle, to change color
for
> certain LOD, as though that patch of terrain didn't have any texture.
It
> looks more like a bug in OpenSceneGraph but it's hard to tell.
> 
> Any insight much appreciated.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to