Hi J-S,

thanks for your reply, that makes sense and helps.

I'll try to ask the community about the GL3 context in another topic if nobody answers here anymore. Maybe this will solve the other issues.

Cheers, PP

Hi Peter,

I activated the uniforms, but still the uniforms don't get printed
through my update callback.
When I activate these uniforms, does this mean at all that they should
be get in any StateSet of any Node ? I think they should, as otherwise I
couldn't use them, right ?

No, they get pushed into the state by the SceneView and other internal classes, so it's very possible that you'll never see them in any StateSet. As I said before:

>> Search in the OSG sources for getUseModelViewAndProjectionUniforms()
>> and getUseVertexAttributeAliasing() and you'll see where they are used
>> to create and update the uniforms / variables.

Hope this helps,

J-S

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to