gunkiss/src/flat.vert

22 lines
969 B
GLSL
Raw Normal View History

2021-10-18 23:07:22 -04:00
/* _______________ ,----------------------------------------------------------------.
//`````````````\\ \ \
//~~~~~~~~~~~~~~~\\ \ by @ohsqueezy & @sleepin \
//=================\\ \ [ohsqueezy.itch.io] [sleepin.itch.io] \
// \\ \ \
// \\ \ code released under the zlib license [git.nugget.fun/pudding] \
// ☆ GUNKISS ☆ \\ \ \
//_________________________\\ `---------------------------------------------------------------*/
2021-07-02 22:51:59 -04:00
#version 130
2021-09-01 00:08:45 -04:00
in vec2 in_position;
in vec2 vertex_uv;
out vec2 uv;
uniform mat4 transformation;
2021-07-02 22:51:59 -04:00
void main(void)
{
gl_Position = transformation * vec4(in_position, 0, 1);
2021-09-01 00:08:45 -04:00
uv = vertex_uv;
2021-07-02 22:51:59 -04:00
}