From 9af3b8a07e5ec51cc7838f8cbcd130262e2e095e Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 17 Jan 2008 19:01:58 +0000 Subject: 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/render/intern/include/shadbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/render/intern/include/shadbuf.h') 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 , between -- cgit v1.2.3