diff options
author | Ton Roosendaal <ton@blender.org> | 2008-01-17 22:01:58 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-01-17 22:01:58 +0300 |
commit | 9af3b8a07e5ec51cc7838f8cbcd130262e2e095e (patch) | |
tree | ba5257d7e7c244aa3968f1f11e30b8c92fd6eeca /source/blender/render/intern/include/shadbuf.h | |
parent | e14ed616fb52bdc8adec8135fcc2d5d5ea7a6def (diff) |
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...
Diffstat (limited to 'source/blender/render/intern/include/shadbuf.h')
-rw-r--r-- | source/blender/render/intern/include/shadbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/shadbuf.h b/source/blender/render/intern/include/shadbuf.h index 20a266f8579..c5d8f2690c7 100644 --- a/source/blender/render/intern/include/shadbuf.h +++ b/source/blender/render/intern/include/shadbuf.h @@ -57,7 +57,7 @@ void threaded_makeshadowbufs(struct Render *re); * @param inp The inproduct between viewvector and ? * */ -float testshadowbuf(struct ShadBuf *shb, float *rco, float *dxco, float *dyco, float inp); +float testshadowbuf(struct ShadBuf *shb, float *rco, float *dxco, float *dyco, float inp, float mat_bias); /** * Determines the shadow factor for lamp <lar>, between <p1> |