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:
saschawillems 2016-05-03 22:38:57 +02:00
parent 908ef3765c
commit bb0924480d
14 changed files with 2049 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#version 450 core
layout (location = 0) in vec2 inUV;
layout (binding = 0) uniform sampler2D samplerFont;
layout (location = 0) out vec4 outFragColor;
void main(void)
{
float color = texture(samplerFont, inUV).r;
outFragColor = vec4(vec3(color), 1.0);
}