Blender Git Loki
Git Commits -> Revision 49247f0
Revision 49247f0 by Sergey Sharybin (master) February 2, 2016, 11:50 (GMT) |
Fix T47207: Material shading incorrectly handles colorramp node The issue was introduced by a fix for T44713 which only made GLSL consistent with Cycles. Now we do have conditional averaging or proper luma weighting based on whether we're new old old shading system. Not totally ideal but should work for until we re-design viewport possibly breaking how Blender Internal does implicit conversion. |
Commit Details:
Full Hash: 49247f0fc445ec014478d485883492a04ae5facb
Parent Commit: be10d6d
Lines Changed: +46, -8
6 Modified Paths:
/source/blender/gpu/GPU_shader.h (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+15, -4) (Diff)
/source/blender/gpu/intern/gpu_codegen.h (+3, -1) (Diff)
/source/blender/gpu/intern/gpu_material.c (+3, -1) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+10, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+14, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+15, -4) (Diff)
/source/blender/gpu/intern/gpu_codegen.h (+3, -1) (Diff)
/source/blender/gpu/intern/gpu_material.c (+3, -1) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+10, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+14, -0) (Diff)