Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2011-11-20 18:16:41 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2011-11-20 18:16:41 +0400
commit17b113c784aa30cf7ea06f0970a4427620fef4dc (patch)
tree737dbb33a1ca3cec098a6e2bae0c27e3a36e2b28 /source/blender/makesdna/DNA_modifier_types.h
parent9000db36312cdc514f2ffd967148eef13ed2e67f (diff)
Option to rename the vertex color data layer used by Ocean modifier for foam. The modifier outputs foam values to both textures and a (temporary) vertex data layer. This layer was unnamed before, which makes it impossible to access in shader nodes. Now the user can input a custom name in the modifier panel, then use that same name in a shader input node to access foam values.
http://www.pasteall.org/pic/21120
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index c009b9cc5fb..ed3d42a9da7 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -777,6 +777,7 @@ typedef struct OceanModifierData {
int bakeend;
char cachepath[240]; // FILE_MAX
+ char foamlayername[32];
char cached;
char geometry_mode;