feat: add assignment 3 files
This commit is contained in:
9
data/shaders/vertex.glsl
Normal file
9
data/shaders/vertex.glsl
Normal file
@@ -0,0 +1,9 @@
|
||||
uniform mat4 mvp;
|
||||
attribute vec3 vpos;
|
||||
attribute vec3 vcolor;
|
||||
varying vec3 fcolor;
|
||||
|
||||
void main() {
|
||||
gl_Position = mvp * vec4(vpos, 1);
|
||||
fcolor = vcolor;
|
||||
}
|
||||
Reference in New Issue
Block a user