Sign in
cobalt
/
cobalt
/
07c204f02a8437b2b0d3a3536a986b4ee0f3c2e1
/
.
/
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
;
}