mirror of
https://github.com/LucasDower/ObjToSchematic.git
synced 2024-12-21 03:09:14 +08:00
12 lines
212 B
GLSL
12 lines
212 B
GLSL
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.xyz, 1.0);
|
|
}
|