I have added a shadow scene (using shadow map technique) to my scene graph and 
the shadow texture I am getting does not seem to make much sense see:
https://www.nads-sc.uiowa.edu/userweb/dheitbri/shadowScene_small.jpg

I turned on the debug HUD, the scene has 3 cars, on top of a white rectangle, 
and a smaller black rectangle above the 3 cars. The light source is above 
everything. I do have a shaders attached, and in this rendering I do not have 
the shadow texture being rendered (with a bad shadow texture the shadows do not 
come out right).


I have my graph setup as pretty much as:
Composite Viewer-> Scene Root (sky box is attached here) -> Shadow Scene -> 
Regular Scene (basically everything else). 

I pretty much set the light, and set the texture size to 4096 x 4096, that is 
about it in terms of what I have set for the shadow map object.

Any advice on were to begin to figure this issue out would be greatly 
appreciated.

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





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

Reply via email to