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

17 lines
226 B
GLSL
Raw Normal View History

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