diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-07-05 23:16:48 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-07-05 23:17:09 +0300 |
commit | 91808a67e8d5c0b16fb7580a6cab771f0e2d9a0d (patch) | |
tree | 0044cf3ee30fdfb20464288ddbc0ac5f79edfba3 /source/blender/draw | |
parent | 7b565c8a769949bedac6af61b45c16b9f4b45c07 (diff) |
Eevee: Volumetrics: Fix enum flag.
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_private.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_private.h b/source/blender/draw/engines/eevee/eevee_private.h index 6175b656521..7f45e72c713 100644 --- a/source/blender/draw/engines/eevee/eevee_private.h +++ b/source/blender/draw/engines/eevee/eevee_private.h @@ -48,14 +48,14 @@ extern struct DrawEngineType draw_engine_eevee_type; /* World shader variations */ enum { - VAR_VOLUME_SHADOW = (1 << 0), - VAR_VOLUME_HOMO = (1 << 1), - VAR_VOLUME_LIGHT = (1 << 2), - VAR_VOLUME_COLOR = (1 << 3), - - VAR_WORLD_BACKGROUND = 16, - VAR_WORLD_PROBE = 17, - VAR_WORLD_VOLUME = 18, + VAR_WORLD_BACKGROUND = 0, + VAR_WORLD_PROBE = 1, + VAR_WORLD_VOLUME = 2, + + VAR_VOLUME_SHADOW = (1 << 2), + VAR_VOLUME_HOMO = (1 << 3), + VAR_VOLUME_LIGHT = (1 << 4), + VAR_VOLUME_COLOR = (1 << 5), }; /* Material shader variations */ |