diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2008-11-28 19:00:50 +0300 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2008-11-28 19:00:50 +0300 |
commit | 001f9558a310ed05671ce7324ac02de410279259 (patch) | |
tree | b88a1f165c169b0b09c1a2878b28a11d475412f9 /source/blender/makesdna/DNA_material_types.h | |
parent | c8098f953d5f6fa18a00d49d0577a72706b43b89 (diff) |
* add diffuse shader properties for material
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 706ee748585..d2bb93162d0 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -96,7 +96,9 @@ typedef struct Material { /* shaders */ short diff_shader, spec_shader; float roughness, refrac; - float param[4]; /* size, smooth, size, smooth, for toonshader */ + /* XXX param[4] needs review and improvement (shader system as whole anyway) + This is nasty reused variable for different goals and not easy to RNAify nicely. -jesterKing */ + float param[4]; /* size, smooth, size, smooth, for toonshader, 0 (fac) and 1 (fresnel) also for fresnel shader */ float rms; float darkness; short texco, mapto; |