diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-10-17 17:32:43 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-10-17 17:32:43 +0400 |
commit | 20585a8b8dc50bc1a090f2d44066540839ee7303 (patch) | |
tree | 508d1240624ed64ae88ee824a52efd08e8a810e2 /source/blender/makesdna/DNA_material_types.h | |
parent | d08b06f773c754c70886901b8964c8093f920a75 (diff) |
Render: local light group option for materials, blender internal feature from
the render branch.
When a material is linked in and has a light group override, this can now use
a local group in the scene file, by replacing the linked light group with a
local group that has the same name. A use case might be controlling the specular
highlight on linked character's eyes per scene.
Patch from render branch by Pablo Vazquez.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 374cc8e7379..51f9af278fe 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -292,6 +292,7 @@ typedef struct Material { #define MA_CUBIC 1 #define MA_OBCOLOR 2 #define MA_APPROX_OCCLUSION 4 +#define MA_GROUP_LOCAL 8 /* diff_shader */ #define MA_DIFF_LAMBERT 0 |