Parks-n-Rec/include/parks/shader/ui_shader.frag

16 lines
187 B
GLSL
Raw Normal View History

2023-07-11 18:35:02 -04:00
#include <string>
2023-07-12 21:38:34 -04:00
static std::string UIShaderFragment = R"("
2023-07-11 18:35:02 -04:00
#version 330 core
in vec2 uvs;
out vec4 color;
uniform sampler2D tex;
void main()
{
2023-07-12 21:38:34 -04:00
color = texture(tex, uvs);
2023-07-11 18:35:02 -04:00
}
")";