20 lines
419 B
GLSL
20 lines
419 B
GLSL
#version 300 es
|
|
|
|
/* Pepy by @ohsqueezy [ohsqueezy.itch.io] */
|
|
|
|
precision mediump float;
|
|
in vec2 vertex_position;
|
|
in vec2 vertex_uv;
|
|
in vec3 vertex_color;
|
|
out vec2 uv;
|
|
out vec3 color;
|
|
uniform mat4 model_transformation;
|
|
uniform mat4 orthographic_projection;
|
|
|
|
void main(void)
|
|
{
|
|
gl_Position = orthographic_projection * model_transformation * vec4(vertex_position, 0, 1);
|
|
uv = vertex_uv;
|
|
color = vertex_color;
|
|
}
|