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-02 19:39:17 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-05-02 19:39:53 +0300
commit1ff2646d5858676761dac88e24b7d2da4ba4ba7d (patch)
treed0e292fe579530399b8e53a8689b157700c07dfc /source/blender/makesdna/DNA_lamp_types.h
parent965e6ed54f058c21ae6096a5449fb3d1e5235821 (diff)
Eevee: Add Lamp Specular multiplier.
It's usefull in some scenario to tweak the specular intensity of a light without modifying the diffuse contribution. Cycles allows it via lamps material which we currently not support in Eevee. This is a good workaround for now.
Diffstat (limited to 'source/blender/makesdna/DNA_lamp_types.h')
-rw-r--r--source/blender/makesdna/DNA_lamp_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_lamp_types.h b/source/blender/makesdna/DNA_lamp_types.h
index b3c07543201..43606cbcd9d 100644
--- a/source/blender/makesdna/DNA_lamp_types.h
+++ b/source/blender/makesdna/DNA_lamp_types.h
@@ -89,6 +89,8 @@ typedef struct Lamp {
float contact_dist, contact_bias, contact_spread, contact_thickness;
+ float spec_fac, pad;
+
/* preview */
struct PreviewImage *preview;