Started work on a text overlay rendering example using a separate render pass for drawing on top of the current framebuffer
This commit is contained in:
parent
908ef3765c
commit
bb0924480d
14 changed files with 2049 additions and 0 deletions
12
data/shaders/textoverlay/text.vert
Normal file
12
data/shaders/textoverlay/text.vert
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#version 450 core
|
||||
|
||||
layout (location = 0) in vec2 inPos;
|
||||
layout (location = 1) in vec2 inUV;
|
||||
|
||||
layout (location = 0) out vec2 outUV;
|
||||
|
||||
void main(void)
|
||||
{
|
||||
gl_Position = vec4(inPos, 0.0, 1.0);
|
||||
outUV = inUV;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue