COSC-3P98-Final-Project/include/shaders/chunk.frag

18 lines
331 B
GLSL

#ifdef __cplusplus
#include <string>
std::string shader_chunk_frag = R"("
#version 300 es
precision mediump float;
out vec4 FragColor;
void main() {
/** if (gl_fragcoord * gl_fragcoord < vec2(5, 5))
FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f);
else
discard;*/
FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f);
}
")";
#endif