[Bf-blender-cvs] [97e89027fc1] blender2.8: Eevee : fix light colors

Clément Foucault noreply at git.blender.org
Mon May 29 15:53:00 CEST 2017


Commit: 97e89027fc155bed061cd5ec81c5a3e6c12502cb
Author: Clément Foucault
Date:   Mon May 29 12:37:34 2017 +0200
Branches: blender2.8
https://developer.blender.org/rB97e89027fc155bed061cd5ec81c5a3e6c12502cb

Eevee : fix light colors

===================================================================

M	source/blender/draw/engines/eevee/eevee_lights.c

===================================================================

diff --git a/source/blender/draw/engines/eevee/eevee_lights.c b/source/blender/draw/engines/eevee/eevee_lights.c
index e18d41845b8..f6d68f27c15 100644
--- a/source/blender/draw/engines/eevee/eevee_lights.c
+++ b/source/blender/draw/engines/eevee/eevee_lights.c
@@ -260,7 +260,7 @@ static void eevee_light_setup(Object *ob, EEVEE_LampsInfo *linfo, EEVEE_LampEngi
 	copy_v3_v3(evli->position, ob->obmat[3]);
 
 	/* Color */
-	srgb_to_linearrgb_v3_v3(evli->color, &la->r);
+	copy_v3_v3(evli->color, &la->r);
 
 	/* Influence Radius */
 	evli->dist = la->dist;




More information about the Bf-blender-cvs mailing list