diff options
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index aa847050581..d2bb93162d0 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -41,7 +41,6 @@ struct MTex; struct Ipo; -struct Material; struct ColorBand; struct Group; struct bNodeTree; @@ -97,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; |