Created
December 6, 2016 21:57
-
-
Save ryosuzuki/01c90bdea60559f0066aaa1f9c1463cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#version 330 | |
precision lowp float; | |
uniform vec3 color; | |
out vec4 outColor; | |
void main() { | |
outColor = vec4(color, 1.0); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#version 330 | |
uniform mat4 mvp; | |
in vec3 position; | |
void main() { | |
gl_Position = mvp * vec4(position, 1.0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment