1
0
Fork 0
This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
Modern-Game-Engine/res/shaders/font.vert
Florian Richer (MrDev023) 145438d5f4 Update
2015-12-24 13:15:02 +01:00

15 lines
356 B
GLSL

#version 330
layout (location = 0) in vec3 in_position;
layout (location = 1) in vec4 in_color;
layout (location = 2) in vec2 in_coord_texture;
uniform mat4 projection;
out vec4 color;
out vec2 out_coord_texture;
void main(){
color = in_color;
out_coord_texture = in_coord_texture;
gl_Position = projection * vec4(in_position,1.0f);
}