Blender Git Commit Log

Git Commits -> Revision 4dc8182

Revision 4dc8182 by Sergey Sharybin (compositor-2016)
June 8, 2016, 19:45 (GMT)
Properly handle vertex color color space for Cycles GLSL

A bit tricky, need to pass additional information about what the attribute
is and how to deal with it.

BI path stays unchanged, just to make things simplier for now.

Fixes T48555: Cycles GLSL- Incorrect Vertex Color results from Attribute node

Commit Details:

Full Hash: 4dc81827c8bcd87da618b93723486a738ba7fbc5
Parent Commit: 89643fc
Committed By: Jeroen Bakker
Lines Changed: +95, -8

12 Modified Paths:

/source/blender/blenkernel/BKE_DerivedMesh.h (+4, -4) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+4, -0) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+8, -0) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+5, -0) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+4, -0) (Diff)
/source/blender/gpu/GPU_buffers.h (+5, -0) (Diff)
/source/blender/gpu/GPU_shader.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+6, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+3, -1) (Diff)
/source/blender/gpu/intern/gpu_material.c (+3, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+0, -3) (Diff)
/source/blender/gpu/shaders/gpu_shader_vertex.glsl (+52, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021