From 17b113c784aa30cf7ea06f0970a4427620fef4dc Mon Sep 17 00:00:00 2001 From: Lukas Toenne Date: Sun, 20 Nov 2011 14:16:41 +0000 Subject: 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 --- source/blender/makesdna/DNA_modifier_types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/makesdna/DNA_modifier_types.h') 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; -- cgit v1.2.3