From c149d9ac2492cecbd1ba336f231157f69413942b Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 30 Sep 2017 21:00:09 +0500 Subject: 2017-09-30 --- cwd/shaders/face.vs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cwd/shaders/face.vs') 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; -- cgit v1.2.3