Hi Robert,
Sorry for the missing information. I use SoftShadow technique, but
tested with other techniques and they always produce the same effect.
And indeed I have a second light which is linked to the camera (moves
with the camera). I totaly forgot this light and I think it does not
work well with osgShadow which can manage only one shadow caster light.
Cheers,
Pierre-Jean.
Le 28/04/2016 15:40, Robert Osfield a écrit :
Hi Pierre,
I think there is probably a couple of issues.
You don't say which osgShadow::ShadowTechnique you use, it may well be
you've picked a very simple one that isn't capable of handling this
type of geometry combination.
Second, shadows on back faces should be the same colour as the back
face because essentially there are same thing - a face without any
direct lighting. The lighting model for you data is clearly not
coherent between the shadow and the back face. I don't know how
you've set up your lighting but clearly something is amiss here. Are
you using a different light sources? Do you have ambient lighting
different between the shadow and box rendering?
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org