mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-15 12:50:16 +01:00
24 lines
456 B
GLSL
24 lines
456 B
GLSL
attribute vec4 position;
|
|
attribute vec4 color;
|
|
attribute vec3 normal;
|
|
attribute vec2 texcoord;
|
|
|
|
uniform mat4 modelViewProjectionMatrix;
|
|
|
|
varying vec4 v_position;
|
|
varying vec4 v_color;
|
|
varying vec3 v_normal;
|
|
varying vec2 v_texcoord;
|
|
|
|
uniform mat4 u_modelViewProjectionMatrix;
|
|
|
|
void main() {
|
|
v_position = position;
|
|
v_color = color;
|
|
v_normal = normal;
|
|
v_texcoord = texcoord;
|
|
|
|
gl_Position = modelViewProjectionMatrix * position;
|
|
|
|
}
|