summaryrefslogtreecommitdiffstats
path: root/cwd/shaders/block.vs
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-05-31 16:17:09 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-05-31 16:17:09 +0200
commitf721ed0e3c6be33670fe330c029a2d4c3353f635 (patch)
tree5afad5a292171d546d9ded16de6151a014883d84 /cwd/shaders/block.vs
parent2017-05-28 (diff)
downloadAltCraft-f721ed0e3c6be33670fe330c029a2d4c3353f635.tar
AltCraft-f721ed0e3c6be33670fe330c029a2d4c3353f635.tar.gz
AltCraft-f721ed0e3c6be33670fe330c029a2d4c3353f635.tar.bz2
AltCraft-f721ed0e3c6be33670fe330c029a2d4c3353f635.tar.lz
AltCraft-f721ed0e3c6be33670fe330c029a2d4c3353f635.tar.xz
AltCraft-f721ed0e3c6be33670fe330c029a2d4c3353f635.tar.zst
AltCraft-f721ed0e3c6be33670fe330c029a2d4c3353f635.zip
Diffstat (limited to '')
-rw-r--r--cwd/shaders/block.vs8
1 files changed, 5 insertions, 3 deletions
diff --git a/cwd/shaders/block.vs b/cwd/shaders/block.vs
index 7a36a5d..09d5b3f 100644
--- a/cwd/shaders/block.vs
+++ b/cwd/shaders/block.vs
@@ -4,12 +4,14 @@ layout (location = 2) in vec2 UvCoordinates;
out vec2 UvPosition;
+
+uniform mat4 view;
+uniform mat4 projection;
+uniform float time;
uniform mat4 model;
-uniform mat4 view;
-uniform mat4 projection;
void main()
{
gl_Position = projection * view * model * vec4(position, 1.0f);
UvPosition = vec2(UvCoordinates.x,UvCoordinates.y);
-} \ No newline at end of file
+}