[osg-users] Shadows on two-sided polygons

Andreas Goebel a-goebel at gmx.de
Thu Nov 19 12:07:24 PST 2009


I use two-sided polygons (as I display no real objects but mathematical
ones like planes this makes sense) and use shadows on them.

After upgrading to 2.8.2, this does no longer work. I get the correct
shadow on one side of a plane, but if the shadow should be on the other
side, I get strange artifacts but no shadow.

Is there a setting to change the shadow to two-sided? Thanks for your help.



Correct shadow: http://raumgeometrie.de/NeueBilder/testbilder/Shadow1.png
Incorrect shadow: http://raumgeometrie.de/NeueBilder/testbilder/Shadow2.png

More information about the osg-users mailing list