Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-05-13 22:07:25 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-05-13 22:07:40 +0300
commite0a4624acd498313cd418ac237ebab0e3edab6d1 (patch)
tree6893e65736054c7a7bd836676734d94cdb664f97 /source/blender/blenkernel
parent913bba503867db693f1fe0808e5aefd3bdbb94ed (diff)
Eevee: Fix lamp defaulting to no specular.
Was missing a default value.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/lamp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/lamp.c b/source/blender/blenkernel/intern/lamp.c
index 195280aad5a..83f429762d9 100644
--- a/source/blender/blenkernel/intern/lamp.c
+++ b/source/blender/blenkernel/intern/lamp.c
@@ -88,6 +88,7 @@ void BKE_lamp_init(Lamp *la)
la->contact_bias = 0.03f;
la->contact_spread = 0.2f;
la->contact_thickness = 0.5f;
+ la->spec_fac = 1.0f;
curvemapping_initialize(la->curfalloff);
}