diff options
author | Ton Roosendaal <ton@blender.org> | 2005-12-17 17:05:40 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-12-17 17:05:40 +0300 |
commit | 128b187db1561b65d0cc558ae3185d032eb49c17 (patch) | |
tree | 3076da03e3016b4f57e495e1d708edcb0d672b34 /source/blender/makesdna/DNA_material_types.h | |
parent | 16aa8ea1b0b951d15dc04b2c9412a6b58f63447b (diff) |
Orange: New option "Shadow Bias", to extend the boundary between shadow or
no shadow a little bit. Uses same threshold function as the "Bias" button.
(That latter still works, and will use an automatic bias value based on the
geometry, to prevent terminator errors in raytracing).
Anyhoo, with this manual bias you can get rid of terminator problems for
weird diffuse shaders now as well (like tangent or fresnel).
Committed a few more files than needed, that's just code cleanup.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 9991148ad3d..8e150b10a82 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -85,7 +85,7 @@ typedef struct Material { short flarec, starc, linec, ringc; float hasize, flaresize, subsize, flareboost; float strand_sta, strand_end, strand_ease; - float pad1; + float sbias; /* shadow bias */ /* for buttons and render*/ char rgbsel, texact, pr_type, pad; |