diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-05-29 13:37:34 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-05-29 16:52:27 +0300 |
commit | 97e89027fc155bed061cd5ec81c5a3e6c12502cb (patch) | |
tree | 1017d1f709cae6ecedb7e0f5b4cdfb63629e9bdd | |
parent | dbed33479a9f55e42b70ea03fe796b10337a21c7 (diff) |
Eevee : fix light colors
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_lights.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |