[osg-users] SoftShadowMap::setBias

Anders Backman andersb at cs.umu.se
Wed Sep 19 00:49:44 PDT 2007

Hi, I have a minor addition I would like to see in svn for the SoftShadowMap

To add a small bias to the depth test. It can sometimes reduce some
artifacts of shadowmap (adding others though).

set/getTextureSize() to change the resolution of the render target texture.

Modified files are attached.



Anders Backman               Email:    andersb at cs.umu.se
HPC2N/VRlab                  Phone:    +46 (0)90-786 9936
Umea university              Cellular: +46 (0)70-392 64 67
S-901 87 UMEA SWEDEN         Fax:      +46 90-786 6126
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070919/513f49c3/attachment-0002.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: softshadowmap.cpp
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070919/513f49c3/attachment-0001.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: softshadowmap
Type: application/octet-stream
Size: 4149 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070919/513f49c3/attachment-0002.obj>

More information about the osg-users mailing list