15 lines
No EOL
256 B
GLSL
15 lines
No EOL
256 B
GLSL
precision mediump float;
|
|
|
|
attribute vec3 position;
|
|
attribute vec3 color;
|
|
|
|
uniform mat4 proj;
|
|
uniform mat4 view;
|
|
uniform mat4 tran;
|
|
|
|
varying vec3 color_pass;
|
|
|
|
void main() {
|
|
color_pass = color;
|
|
gl_Position = proj * view * tran * vec4(position, 1.0);
|
|
} |