16 lines
187 B
GLSL
16 lines
187 B
GLSL
|
#include <string>
|
||
|
static std::string UIShaderFragment = R"("
|
||
|
#version 330 core
|
||
|
|
||
|
in vec2 uvs;
|
||
|
|
||
|
out vec4 color;
|
||
|
|
||
|
uniform sampler2D tex;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
color = texture(tex, uvs);
|
||
|
}
|
||
|
|
||
|
")";
|