Hi,
Is it possible to have multiple shadow maps?
I mean, f.ex., two light sources and two osgShadow::ShadowMap casting
two shadows in a single pass?
Studying osgShadow::ShadowMap shows that it is not directly supported.
Anyway, I created two ShadowMaps, made one parent of the other and a
scene as a child. I made ShadowMaps use different uniforms, created my
own shader processing both shadow textures (and base texture).
However, it still does not work. One shadow texture works well, but if I
use two, only one is displayed correctly.
Any ideas?
Thx,
John
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org