forked from AuroraMiddleware/gtk
872b5115ea
We need new shaders, and we need to select the correct shader when building the program we use to render the triangle.
8 lines
93 B
GLSL
8 lines
93 B
GLSL
attribute vec4 position;
|
|
|
|
uniform mat4 mvp;
|
|
|
|
void main() {
|
|
gl_Position = mvp * position;
|
|
}
|