[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
implementation:
SoftShadowMap::setBias/getBias()
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.
Cheers,
Anders
--
________________________________________________________________
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
http://www.cs.umu.se/~andersb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070919/513f49c3/attachment.html
-------------- 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.pot
-------------- 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-0001.obj
More information about the osg-users
mailing list