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 | |
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')
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 2 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_object_types.h | 1 |
2 files changed, 1 insertions, 2 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; diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h index 88075e718de..50243c26887 100644 --- a/source/blender/makesdna/DNA_object_types.h +++ b/source/blender/makesdna/DNA_object_types.h @@ -326,7 +326,6 @@ extern Object workob; #define BA_HAS_RECALC_DATA 8 #define BA_DO_IPO 32 -#define OB_GONNA_MOVE 32 #define BA_FROMSET 128 #define OB_DO_IMAT 256 |