diff options
| author | Ray <[email protected]> | 2017-10-23 22:41:06 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2017-10-23 22:41:06 +0200 |
| commit | 9668f546d3d97d6ee364c5322cf3d64a7998cf55 (patch) | |
| tree | 512178cecdb99ba7c80f7184aa98269b3135d801 /examples/others/resources/shaders/glsl100 | |
| parent | bd2e3b2a905b6d512d1188f92fec60636d24a813 (diff) | |
| download | raylib-9668f546d3d97d6ee364c5322cf3d64a7998cf55.tar.gz raylib-9668f546d3d97d6ee364c5322cf3d64a7998cf55.zip | |
Example shader correction
Diffstat (limited to 'examples/others/resources/shaders/glsl100')
| -rw-r--r-- | examples/others/resources/shaders/glsl100/standard.vs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/others/resources/shaders/glsl100/standard.vs b/examples/others/resources/shaders/glsl100/standard.vs index 49c5a3eb..2b958938 100644 --- a/examples/others/resources/shaders/glsl100/standard.vs +++ b/examples/others/resources/shaders/glsl100/standard.vs @@ -10,7 +10,7 @@ varying vec2 fragTexCoord; varying vec4 fragColor; varying vec3 fragNormal; -uniform mat4 mvpMatrix; +uniform mat4 mvp; void main() { @@ -19,5 +19,5 @@ void main() fragColor = vertexColor; fragNormal = vertexNormal; - gl_Position = mvpMatrix*vec4(vertexPosition, 1.0); + gl_Position = mvp*vec4(vertexPosition, 1.0); }
\ No newline at end of file |
