Sorry, partially sent by accident ...


Hi all,

I think SoftShadowMap doesn't unload the shader when unloaded.

The root node of my scene is a ShadowedScene.
I guess without assigning a ShadowTechnique the default GL rendering pipeline is used. When creating and setting SoftShadowMap as technique shadowing takes place and the techniques shaders do its work. Unfortunately when setting shadowTechnique in the ShadowedScene back to 0 (no technique) the shaders still apply.

I guess this as a bug.

Also when using the SoftShadowTechnique the models colors get significantly darker.
Debugging the shader by setting
        gl_FragColor = gl_Color;
at the end of the frag shader shows that gl_Color is dark allready.

But SoftShadowMap doesn't install a vertex shader. So, why is the gl_Color different?

- Werner -
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to