diff options
Diffstat (limited to 'cwd/shaders')
-rw-r--r-- | cwd/shaders/face.vs | 7 |
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; |