diff options
author | LaG1924 <lag1924@gmail.com> | 2021-11-27 17:08:58 +0100 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-11-27 17:08:58 +0100 |
commit | c905ede556c892d39fd69d3945026ba244567ce9 (patch) | |
tree | 86b0d1f5f3ba47358bfb3a89c1dba9ae9a344a39 /cwd/assets/altcraft/shaders/vert/light.vs | |
parent | Added ShaderParametersBuffer to GalOgl (diff) | |
download | AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar.gz AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar.bz2 AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar.lz AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar.xz AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar.zst AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.zip |
Diffstat (limited to '')
-rw-r--r-- | cwd/assets/altcraft/shaders/vert/light.vs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cwd/assets/altcraft/shaders/vert/light.vs b/cwd/assets/altcraft/shaders/vert/light.vs index f837ebe..0033107 100644 --- a/cwd/assets/altcraft/shaders/vert/light.vs +++ b/cwd/assets/altcraft/shaders/vert/light.vs @@ -5,6 +5,13 @@ in vec2 uvPos; out vec2 uv; +layout (std140) uniform Globals { + mat4 projView; + uvec2 viewportSize; + float globalTime; + float dayTime; +}; + void main() { gl_Position = vec4(pos.x, pos.y, 0.0, 1.0); uv = uvPos; |