Fix #26807: glsl diffuse/specular was not clamping negative values, giving
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 2 May 2011 14:01:45 +0000 (14:01 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Mon, 2 May 2011 14:01:45 +0000 (14:01 +0000)
commit14d7d480dfeef8a016a587d616691ede245781c9
tree117b8781144702552ba1388cd96f4bedc3b43071
parent7f4b4bbaf0ed5fc7ad41bca13f6a5f9f4d16220c
Fix #26807: glsl diffuse/specular was not clamping negative values, giving
some inconsistent results with the renderer.
source/blender/gpu/intern/gpu_material.c
source/blender/gpu/intern/gpu_shader_material.glsl