Blender Git Commit Log

Git Commits -> Revision 6ddba9d

Revision 6ddba9d by Sergey Sharybin (compositor-2016)
June 8, 2016, 19:45 (GMT)
Support Vertex Color in GLSL viewport for Cycles

The title says it all actually.

Added special custom data type, because we don't know in advance
whether we're referencing UV or Color layer. Also made it so vertex
attributes are normalized.

TODO: Border render in viewport ignores the normalization of the
attribute array for some reason, will be looked into still.

Reviewers: mont29, brecht, campbellbarton

Reviewed By: brecht, campbellbarton

Differential Revision: https://developer.blender.org/D2022

Commit Details:

Full Hash: 6ddba9d8df619c43a1b4b0f3a08443077f078656
Parent Commit: 240bddb
Committed By: Jeroen Bakker
Lines Changed: +65, -25

5 Modified Paths:

/source/blender/blenkernel/intern/DerivedMesh.c (+52, -18) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+1, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+4, -4) (Diff)
/source/blender/makesdna/DNA_customdata_types.h (+6, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_attribute.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021