Sign in
cobalt
/
cobalt
/
06a3c2311ce4eff9f10fbb1d6aa255dc8b21de40
/
.
/
src
/
cobalt
/
renderer
/
glimp_shaders
/
glsl
/
vertex_mesh.glsl
blob: cce9ab852c59c481a9a3aabd8e0125eb056aebfc [
file
] [
log
] [
blame
]
attribute vec3 a_position
;
attribute vec2 a_tex_coord
;
varying vec2 v_tex_coord
;
uniform mat4 u_mvp_matrix
;
void
main
()
{
gl_Position
=
u_mvp_matrix
*
vec4
(
a_position
.
xyz
,
1.0
);
v_tex_coord
=
a_tex_coord
;
}