2024-05-03 22:14:48 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
#include <string>
|
2024-05-04 03:15:43 -04:00
|
|
|
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
|