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/frag/entity.fs | |
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/frag/entity.fs')
-rw-r--r-- | cwd/assets/altcraft/shaders/frag/entity.fs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/cwd/assets/altcraft/shaders/frag/entity.fs b/cwd/assets/altcraft/shaders/frag/entity.fs index 31e1a7c..813a9af 100644 --- a/cwd/assets/altcraft/shaders/frag/entity.fs +++ b/cwd/assets/altcraft/shaders/frag/entity.fs @@ -1,19 +1,15 @@ #version 330 core -in vec4 entityWorldPos; - layout (location = 0) out vec4 color; layout (location = 1) out vec4 normal; -layout (location = 2) out vec4 worldPos; -layout (location = 3) out vec4 addColor; -layout (location = 4) out vec4 light; +layout (location = 2) out vec4 addColor; +layout (location = 3) out vec4 light; uniform vec3 entityColor; void main() { color = vec4(entityColor, 1.0f); normal = vec4(0.0f, 0.0f, 0.0f, 1.0f); - worldPos = entityWorldPos; addColor = vec4(1.0f); light = vec4(1.0f, 1.0f, 0.0f, 1.0f); } |