Replaced text overlay with proper (imgui based) UI overlay class
This commit is contained in:
parent
5107cf3ed0
commit
f6af0bde03
10 changed files with 743 additions and 807 deletions
13
data/shaders/base/uioverlay.frag
Normal file
13
data/shaders/base/uioverlay.frag
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#version 450
|
||||
|
||||
layout (binding = 0) uniform sampler2D fontSampler;
|
||||
|
||||
layout (location = 0) in vec2 inUV;
|
||||
layout (location = 1) in vec4 inColor;
|
||||
|
||||
layout (location = 0) out vec4 outColor;
|
||||
|
||||
void main()
|
||||
{
|
||||
outColor = inColor * texture(fontSampler, inUV);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue