diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2017-06-06 19:19:38 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2017-06-06 19:27:59 +0300 |
commit | 46f659ba2d78b948d5a3a0e05567a5c71deb06db (patch) | |
tree | 02d01f8c75672ec4012adbe37742fa02cee7f243 /source/blender/draw/engines/eevee/shaders/ltc_lib.glsl | |
parent | 81615ddf86173e6525fb92d26dc5cf130a4cdef5 (diff) |
Eevee: Fix shader compilation issue.
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/ltc_lib.glsl')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/ltc_lib.glsl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/ltc_lib.glsl b/source/blender/draw/engines/eevee/shaders/ltc_lib.glsl index cd16203703f..f296eedc3ee 100644 --- a/source/blender/draw/engines/eevee/shaders/ltc_lib.glsl +++ b/source/blender/draw/engines/eevee/shaders/ltc_lib.glsl @@ -2,10 +2,10 @@ #define USE_LTC -#ifndef __UTIL_TEX__ -#define __UTIL_TEX__ +#ifndef UTIL_TEX +#define UTIL_TEX uniform sampler2DArray utilTex; -#endif /* __UTIL_TEX__ */ +#endif /* UTIL_TEX */ /* from Real-Time Area Lighting: a Journey from Research to Production * Stephen Hill and Eric Heitz */ |