BLT-With-Graphics-Template/include/blt/gfx/renderer/shaders/pp_screen.frag

18 lines
274 B
GLSL
Raw Normal View History

2024-05-03 22:14:48 -04:00
#ifdef __cplusplus
#include <string>
const std::string shader_pp_screen_frag = R"("
2024-05-03 22:14:48 -04:00
#version 300 es
precision mediump float;
2024-05-11 13:39:43 -04:00
${LAYOUT_STRING}out vec4 FragColor;
2024-05-03 22:14:48 -04:00
in vec2 uv;
in vec2 pos;
uniform sampler2D tex;
void main() {
FragColor = texture(tex, uv);
}
")";
#endif