Bias for irregular lamp buffers now allow minimum of 0.001.
authorTon Roosendaal <ton@blender.org>
Sun, 11 May 2008 13:27:22 +0000 (13:27 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 11 May 2008 13:27:22 +0000 (13:27 +0000)
For larger architecture environments it was proved to be necessary.

source/blender/src/buttons_shading.c

index e60192c8e39d44bf932af0fe3146713992bae859..69b1121da847fc6948bd7d35efae1902d5c8af54 100644 (file)
@@ -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);