[osg-submissions] Fixes in osgShadow::ShadowMap
Sebastian Messerschmidt
Sebastian.Messerschmidt at gmx.de
Wed Mar 5 01:33:11 PST 2008
Hi,
I've merged my changes with the current SVN and experienced some strange
things too.
Wojciech I think has added negative polygonoffset when culling back
faces. This leads to selfshadowing everywhere on my ATI card.
When supplying positive values however it works on ATI and NVIDIA (when
choosing a bigger value though)
I've attached the merge as is, since my changes involve a function to
set the polyoffset from outside (see attached description for further
details).
I also agree to Robert, that we need definitely more unit tests for
this, but I have that strange feeling, that won't be enough, since I had
very different experiences with different card/driver combinations.
(e.g. ATI .. they have inverted the t-coordinate of the FBO-Texture in
their newest drivers ...)
I hope my changes are of any value.
cheers
psy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osg_submission.rar
Type: application/octet-stream
Size: 9082 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20080305/8c7c5e03/attachment.obj
More information about the osg-submissions
mailing list