diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-06-14 11:35:28 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-06-15 01:53:41 +0300 |
commit | 4a83f3e2a573fbaeee18898e3acb35e59c3965d5 (patch) | |
tree | cd8ed1fd023d249237b5f8a1188a2d66dfd2e155 /source/blender/draw/engines/eevee/eevee_private.h | |
parent | fbd05d3b6afd207c4de763cfe4341a4da48e55e4 (diff) |
Eevee: Disable specular when rendering probes.
This prevents weird reflections and really strong indirect lighting.
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_private.h')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h index 77aa8d04278..564c9b85611 100644 --- a/source/blender/draw/engines/eevee/eevee_private.h +++ b/source/blender/draw/engines/eevee/eevee_private.h @@ -211,6 +211,7 @@ typedef struct EEVEE_LightProbesInfo { float lodmax; int shres; int shnbr; + bool specular_toggle; struct GPUTexture *backgroundtex; /* List of probes in the scene. */ /* XXX This is fragile, can get out of sync quickly. */ |