print text
This commit is contained in:
parent
2c9b6e06fa
commit
e0e89d0f2b
5 changed files with 132 additions and 18 deletions
|
|
@ -3,12 +3,15 @@
|
|||
// use the input ("in") vertices from index zero
|
||||
layout(location = 0) in vec2 position;
|
||||
layout(location = 1) in vec4 color;
|
||||
layout(location = 2) in vec2 uv;
|
||||
|
||||
flat out vec4 out_color;
|
||||
out vec2 texture_coord;
|
||||
|
||||
void main()
|
||||
{
|
||||
// simply copy teh output position
|
||||
gl_Position = vec4(position.x, position.y, 0.0f, 1.0f);
|
||||
out_color = color;
|
||||
texture_coord = uv;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue