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 shows that
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org