<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Robert,<br>
<br>
Sorry for the missing information. I use SoftShadow technique, but
tested with other techniques and they always produce the same
effect.<br>
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.<br>
<br>
Cheers, <br>
Pierre-Jean.<br>
<br>
<div class="moz-cite-prefix">Le 28/04/2016 15:40, Robert Osfield a
écrit :<br>
</div>
<blockquote
cite="mid:CAFN7Y+W-2Fnn9U-m=6Ag4=++0ex2izHUEosg0uaj44gZifSWFw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Pierre,<br>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">I think there is probably a couple of
issues. <br>
<br>
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.<br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">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?<br>
<br>
</div>
<div class="gmail_extra">Robert. <br>
</div>
<div class="gmail_extra"><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
osg-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
</blockquote>
<br>
</body>
</html>