diff options
author | LaG1924 <lag1924@gmail.com> | 2021-12-11 16:44:40 +0100 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-12-11 16:44:40 +0100 |
commit | be808181b2c84358b232e4a32d1a6dd9dd6659ed (patch) | |
tree | 5a0089532532a52fc307d836e2b1e90eced06779 /cwd/assets/altcraft/shaders/vert/entity.vs | |
parent | Removed unnecessary framebuffers copying (diff) | |
download | AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar.gz AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar.bz2 AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar.lz AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar.xz AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.tar.zst AltCraft-be808181b2c84358b232e4a32d1a6dd9dd6659ed.zip |
Diffstat (limited to 'cwd/assets/altcraft/shaders/vert/entity.vs')
-rw-r--r-- | cwd/assets/altcraft/shaders/vert/entity.vs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cwd/assets/altcraft/shaders/vert/entity.vs b/cwd/assets/altcraft/shaders/vert/entity.vs index f90fbc1..8cc7f69 100644 --- a/cwd/assets/altcraft/shaders/vert/entity.vs +++ b/cwd/assets/altcraft/shaders/vert/entity.vs @@ -2,13 +2,12 @@ in vec3 pos; -out vec4 entityWorldPos; - uniform mat4 model; layout (std140) uniform Globals { mat4 projView; mat4 proj; + mat4 invProj; mat4 view; uvec2 viewportSize; vec4 ssaoKernels[64]; @@ -19,5 +18,4 @@ layout (std140) uniform Globals { void main() { gl_Position = projView * model * vec4(pos, 1); - entityWorldPos = view * model * vec4(pos, 1.0f); } |