diff options
author | Alex Fraser <alex@phatcore.com> | 2013-01-02 04:05:30 +0400 |
---|---|---|
committer | Alex Fraser <alex@phatcore.com> | 2013-01-02 04:05:30 +0400 |
commit | 5e0e62f0407e15c936bae92d8fec043adee6ab07 (patch) | |
tree | 96bfb5f997b68085ecc1f65cc1ce64b688fd500b /source/blender/makesdna | |
parent | 7085387defb2e9ae90bdf3ed625f056d616fac6b (diff) |
Patch [#29035] Vertex colour baking
There is a new option in the Bake panel to enable baking to vertex colors. Unlike regular baking, this mode does not require a UV map or image to bake to, however the object must have a vertex color layer.
Thanks to:
- AutoCRC for funding
- Brech van Lommel and Dalai Felinto for their initial advice on how to implement it
- Campbell Barton for helping to make this feature work with modifiers and bmesh
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 1e83b3dadf9..c8175461c1d 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -1319,6 +1319,7 @@ typedef struct Scene { #define R_BAKE_NORMALIZE 8 #define R_BAKE_MULTIRES 16 #define R_BAKE_LORES_MESH 32 +#define R_BAKE_VCOL 64 /* bake_normal_space */ #define R_BAKE_SPACE_CAMERA 0 |