[osg-users] ShadowMap Question

Robert Osfield robert.osfield at gmail.com
Sat Nov 3 10:47:57 PDT 2007


On Nov 3, 2007 2:47 PM, Andreas Goebel <a-goebel at gmx.de> wrote:
> Hi,
>
> after applying Mihai´s Fix for ShadowMap (thank you!) I am able to use
> ShadowMap in my program.
>
> There are two issues:
>
> - triangles only cast a shadow when their normal is directed towards the
> light. While this is, of course, the desired behaviour for "real"
> models, it is not so nice when just displaying a triangle. How can I
> make triangles cast shadows regardless how they are directed?

Disable back face culling.

Robert.


More information about the osg-users mailing list