Render control feature: shader-level shadowbuffer bias
authorTon Roosendaal <ton@blender.org>
Thu, 17 Jan 2008 19:01:58 +0000 (19:01 +0000)
committerTon Roosendaal <ton@blender.org>
Thu, 17 Jan 2008 19:01:58 +0000 (19:01 +0000)
commit9af3b8a07e5ec51cc7838f8cbcd130262e2e095e
treeba5257d7e7c244aa3968f1f11e30b8c92fd6eeca
parente14ed616fb52bdc8adec8135fcc2d5d5ea7a6def
Render control feature: shader-level shadowbuffer bias

Lampbuffers require painful bias tweaking (to prevent aliasing or to
get shadow detail). Sometimes you want this different per object, like
for gras you want less shadow detail, but for the ground you want high
detail. This feature allows to tweak it.

The new "LBias" slider is in shader panel, bottom. Ugly! But, thats for
later...
source/blender/makesdna/DNA_material_types.h
source/blender/render/intern/include/shadbuf.h
source/blender/render/intern/source/pixelshading.c
source/blender/render/intern/source/shadbuf.c
source/blender/render/intern/source/shadeoutput.c
source/blender/src/buttons_shading.c