15 lines
281 B
GLSL
15 lines
281 B
GLSL
|
|
#include "common_vertex.h"
|
|
|
|
uniform mat4 g_ModelViewProjectionMatrix;
|
|
|
|
attribute vec3 a_Position;
|
|
attribute vec2 a_TexCoord;
|
|
|
|
varying vec2 v_TexCoord;
|
|
|
|
void main() {
|
|
gl_Position = mul(vec4(a_Position, 1.0), g_ModelViewProjectionMatrix);
|
|
v_TexCoord = a_TexCoord;
|
|
}
|