summaryrefslogtreecommitdiffstats
path: root/cwd/shaders/face.vs
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2017-09-30 18:00:09 +0200
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:32 +0100
commitc149d9ac2492cecbd1ba336f231157f69413942b (patch)
tree9aa071b54b9e34639e8e39e15e48cc6773956aa7 /cwd/shaders/face.vs
parent2017-09-24 (diff)
downloadAltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar.gz
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar.bz2
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar.lz
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar.xz
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.tar.zst
AltCraft-c149d9ac2492cecbd1ba336f231157f69413942b.zip
Diffstat (limited to '')
-rw-r--r--cwd/shaders/face.vs7
1 files changed, 4 insertions, 3 deletions
diff --git a/cwd/shaders/face.vs b/cwd/shaders/face.vs
index 9bf2639..2d3b4b5 100644
--- a/cwd/shaders/face.vs
+++ b/cwd/shaders/face.vs
@@ -13,13 +13,14 @@ out VS_OUT {
vec2 Light;
} vs_out;
-uniform mat4 view;
-uniform mat4 projection;
+//uniform mat4 view;
+//uniform mat4 projection;
+uniform mat4 projView;
void main()
{
vec4 sourcePosition = vec4(position,1.0f);
- gl_Position = projection * view * model * sourcePosition;
+ gl_Position = projView * model * sourcePosition;
vs_out.UvPosition = vec2(UvCoordinates.x,UvCoordinates.y);
vs_out.Texture = Texture;