Add imgui example (wip)
This commit is contained in:
parent
eded1560a2
commit
ccfc1f1124
24 changed files with 24385 additions and 4 deletions
13
data/shaders/imgui/ui.frag
Normal file
13
data/shaders/imgui/ui.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