GUI, although images don't seem to render
This commit is contained in:
parent
8ce30cae83
commit
c9844fc415
26 changed files with 1032 additions and 488 deletions
12
resources/EngineResources/GuiShaders/gui_frag.glsl
Normal file
12
resources/EngineResources/GuiShaders/gui_frag.glsl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#version 450
|
||||
|
||||
layout (location = 0) in vec2 inTextCoords;
|
||||
layout (location = 1) in vec4 inColor;
|
||||
|
||||
layout (binding = 0) uniform sampler2D fontsSampler;
|
||||
|
||||
layout (location = 0) out vec4 outFragColor;
|
||||
|
||||
void main() {
|
||||
outFragColor = inColor * texture(fontsSampler, inTextCoords);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue