RetroArch/gfx/drivers/gl_shaders/pipeline_nuklear.glsl.vert.h
2016-05-28 20:58:49 +02:00

18 lines
348 B
C

#include "shaders_common.h"
static const char *nuklear_vertex_shader = GLSL_330(
uniform mat4 ProjMtx;
in vec2 Position;
in vec2 TexCoord;
in vec4 Color;
out vec2 Frag_UV;
out vec4 Frag_Color;
void main()
{
Frag_UV = TexCoord;
Frag_Color = Color;
gl_Position = ProjMtx * vec4(Position.xy, 0, 1);
}
);