diff options
author | Robert Wenzlaff <rwenzlaff@soylent-green.com> | 2004-01-15 07:06:24 +0300 |
---|---|---|
committer | Robert Wenzlaff <rwenzlaff@soylent-green.com> | 2004-01-15 07:06:24 +0300 |
commit | 52e5a15bab11705dfca46c9bd5935e23318bdcb0 (patch) | |
tree | f8a5301645c5c8cdba1e0619d26725a5de7a35f1 /source/blender/makesdna/DNA_texture_types.h | |
parent | 39714fe42c195c45d8dbeb424edc4f7c8bc46fb4 (diff) |
- Separates displace from Var slider. Added Disp Slider to
control how the intensity channel affects displacement. Nor
slider still controls how Nor channel affects displacement.
- Scaled Nor displacement to make Nor slider more usable.
- Removed Data scale from displacement routines. Made
sliders unusable for objects scaled in editmode. Displacement
now relative to unit sized object. Displace still tracks
with object scale, so scale out of editmode if you want a
large object with deep displacement.
Diffstat (limited to 'source/blender/makesdna/DNA_texture_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_texture_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_texture_types.h b/source/blender/makesdna/DNA_texture_types.h index ba95e2ecbed..8b5afb2e2ba 100644 --- a/source/blender/makesdna/DNA_texture_types.h +++ b/source/blender/makesdna/DNA_texture_types.h @@ -58,6 +58,8 @@ typedef struct MTex { float def_var; float colfac, norfac, varfac; + float dispfac; + short pad1, pad2; } MTex; |