diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-05-14 01:48:17 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-05-14 11:57:04 +0300 |
commit | 20421ef9528c562a39b92e18d3e1f858df228953 (patch) | |
tree | 78111ea4d0873b7765ee65b22172379f231dbf6f /source/blender/draw/engines/eevee/shaders | |
parent | 016fc7f0c238fae9904dd6f0e48bec3a06b691e6 (diff) |
Cleanup: DRW: Move ModelMatrix declaration to common_view_lib
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders')
3 files changed, 0 insertions, 12 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl b/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl index 4243d0ef870..0a2785bafca 100644 --- a/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl +++ b/source/blender/draw/engines/eevee/shaders/lit_surface_vert.glsl @@ -1,9 +1,4 @@ -#ifndef USE_ATTR -uniform mat4 ModelMatrix; -uniform mat4 ModelMatrixInverse; -#endif - #ifndef HAIR_SHADER in vec3 pos; in vec3 nor; diff --git a/source/blender/draw/engines/eevee/shaders/prepass_vert.glsl b/source/blender/draw/engines/eevee/shaders/prepass_vert.glsl index 7f154c9130a..fe274f59167 100644 --- a/source/blender/draw/engines/eevee/shaders/prepass_vert.glsl +++ b/source/blender/draw/engines/eevee/shaders/prepass_vert.glsl @@ -1,7 +1,4 @@ -uniform mat4 ModelMatrix; -uniform mat4 ModelMatrixInverse; - #ifdef CLIP_PLANES /* keep in sync with DRWManager.view_data */ layout(std140) uniform clip_block diff --git a/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl b/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl index 4f59725fcf8..7dd9af310ed 100644 --- a/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl +++ b/source/blender/draw/engines/eevee/shaders/shadow_vert.glsl @@ -1,8 +1,4 @@ -#ifndef USE_ATTR -uniform mat4 ModelMatrix; -#endif - in vec3 pos; in vec3 nor; |