I'm trying different shadows techniques with some simple models and I'm facing 
some issues when I try to add shadows to a scene where an object has both a 
diffuse and reflection map. By providing some arguments to osgshadow (in order 
to change shadow texture unit for example) in some cases I manage to see the 
reflections but I never get the expected result (either the diffuse map 
disappears or the shadows are not correct).

If I just use a diffuse map (or just the reflection map) then some techniques 
work fine but others do not.

I'm attaching the sample model I tried. Can anyone suggest if there is a way to 
get the expected result? Am I supposed to change the shaders' code in some way?

Thanks.
Alessandro

PS: I'm using version OSG v3.0.1.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42739#42739




Attachments: 
http://forum.openscenegraph.org//files/test_diffuse_reflection_179.zip


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to