Blender Git Commit Log

Git Commits -> Revision 8008d9b

Revision 8008d9b by Shinsuke Irie (master)
May 30, 2014, 08:11 (GMT)
Fix T40078: GLSL Lamp with OnlyShadow makes weird colors in object.

To prevent only shadow lamps from producing negative colors, shr->diff
and shr->spec should've been clamped to positive values after lamp loop.

Commit Details:

Full Hash: 8008d9bdfd5730b15727d0fb16f4417a4b8a85cc
Parent Commit: 50a7843
Lines Changed: +20, -13

2 Modified Paths:

/source/blender/gpu/intern/gpu_material.c (+9, -7) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+11, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021