Added backgdrop, object and more text to text overlay example
This commit is contained in:
parent
99ad677339
commit
b39d589c86
13 changed files with 243 additions and 62 deletions
15
data/shaders/textoverlay/background.frag
Normal file
15
data/shaders/textoverlay/background.frag
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#version 450
|
||||
|
||||
#extension GL_ARB_separate_shader_objects : enable
|
||||
#extension GL_ARB_shading_language_420pack : enable
|
||||
|
||||
layout (binding = 1) uniform sampler2D samplerColorMap;
|
||||
|
||||
layout (location = 0) in vec2 inUV;
|
||||
|
||||
layout (location = 0) out vec4 outFragColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
outFragColor = texture(samplerColorMap, inUV);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue