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:
authorJeroen Bakker <j.bakker@atmind.nl>2018-06-22 13:37:03 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-06-22 13:37:03 +0300
commitb6b7c83dd8e4838d4819c25d95dd01cacf81c8d8 (patch)
treedec9137686a1da90129d207abc9e40d01ed3f8d2 /source/blender/blenkernel/BKE_studiolight.h
parent0427eca2a6761e1b8a8fd9a44434c2f0e94df75e (diff)
StudioLight: Only apply windowing when SH level is 2
It does not make much sense for the other levels
Diffstat (limited to 'source/blender/blenkernel/BKE_studiolight.h')
-rw-r--r--source/blender/blenkernel/BKE_studiolight.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_studiolight.h b/source/blender/blenkernel/BKE_studiolight.h
index 9e6856f9990..3873ad288f5 100644
--- a/source/blender/blenkernel/BKE_studiolight.h
+++ b/source/blender/blenkernel/BKE_studiolight.h
@@ -65,18 +65,16 @@
#define STUDIOLIGHT_SPHERICAL_HARMONICS_MAX_COMPONENTS 9
#if STUDIOLIGHT_SPHERICAL_HARMONICS_LEVEL == 0
-#define STUDIOLIGHT_SPHERICAL_HARMONICS_COMPONENTS 1
-#define STUDIOLIGHT_SPHERICAL_HARMONICS_WINDOWING_TARGET_LAMPLACIAN 10.0f
+# define STUDIOLIGHT_SPHERICAL_HARMONICS_COMPONENTS 1
#endif
#if STUDIOLIGHT_SPHERICAL_HARMONICS_LEVEL == 1
-#define STUDIOLIGHT_SPHERICAL_HARMONICS_COMPONENTS 4
-#define STUDIOLIGHT_SPHERICAL_HARMONICS_WINDOWING_TARGET_LAMPLACIAN 10.0f
+# define STUDIOLIGHT_SPHERICAL_HARMONICS_COMPONENTS 4
#endif
#if STUDIOLIGHT_SPHERICAL_HARMONICS_LEVEL == 2
-#define STUDIOLIGHT_SPHERICAL_HARMONICS_COMPONENTS 9
-#define STUDIOLIGHT_SPHERICAL_HARMONICS_WINDOWING_TARGET_LAMPLACIAN 10.0f
+# define STUDIOLIGHT_SPHERICAL_HARMONICS_COMPONENTS 9
+# define STUDIOLIGHT_SPHERICAL_HARMONICS_WINDOWING_TARGET_LAMPLACIAN 10.0f
#endif
struct GPUTexture;