ObjToSchematic/res/shaders/debug_vertex.vs

12 lines
209 B
Plaintext
Raw Normal View History

2022-03-08 02:45:06 +08:00
uniform mat4 u_worldViewProjection;
attribute vec3 position;
attribute vec3 colour;
varying vec3 v_colour;
void main() {
v_colour = colour;
gl_Position = u_worldViewProjection * vec4(position, 1.0);
}