From e969685df40d192d6a400241cd66254584a0d903 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 11 May 2008 13:27:22 +0000 Subject: Bias for irregular lamp buffers now allow minimum of 0.001. For larger architecture environments it was proved to be necessary. --- source/blender/src/buttons_shading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/src/buttons_shading.c') diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c index e60192c8e39..69b1121da84 100644 --- a/source/blender/src/buttons_shading.c +++ b/source/blender/src/buttons_shading.c @@ -2652,7 +2652,7 @@ static void lamp_panel_spot(Object *ob, Lamp *la) uiDefButF(block, NUM,B_LAMPREDRAW,"Soft:", 200,40,100,19, &la->soft,1.0,100.0, 100, 0, "Sets the size of the shadow sample area"); } else { /* LA_SHADBUF_IRREGULAR */ - uiDefButF(block, NUM,B_LAMPREDRAW,"Bias:", 100,40,100,19, &la->bias, 0.01, 5.0, 1, 0, "Sets the shadow map sampling bias"); + uiDefButF(block, NUM,B_LAMPREDRAW,"Bias:", 100,40,100,19, &la->bias, 0.001, 5.0, 1, 0, "Sets the shadow map sampling bias"); } uiBlockBeginAlign(block); -- cgit v1.2.3