[Bf-blender-cvs] CVS commit: blender/source/blender/render/intern/source shadbuf.c
Ton Roosendaal
ton at blender.org
Tue Jul 27 13:29:45 CEST 2004
ton (Ton Roosendaal) 2004/07/27 13:29:45 CEST
Modified files:
blender/source/blender/render/intern/source shadbuf.c
Log:
Fix for #1476
This is another extreme old one; from before NaN days even!
Issue is that shadowbuffers have a bias to prevent faces shadowing itself.
To make bias smarter, code was added to adjust bias based on light angle.
This correction allowed a factor of 10 times smaller bias, being in many
cases much too strong, causing frontally lighted faces becoming too dark.
New correction only halves the bias on frontal light, which looks quite
more convincing and pretty.
Revision Changes Path
1.11 +4 -3 blender/source/blender/render/intern/source/shadbuf.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/render/intern/source/shadbuf.c.diff?r1=1.10&r2=1.11&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list