Files
oak-editor/app/shaders/default.frag
T
2020-11-08 00:47:59 +11:00

21 lines
347 B
GLSL

#version 150
#ifdef GL_ES
precision highp int;
precision highp float;
#endif
// Input texture
uniform sampler2D ove_maintex;
// Input texture coordinate
in vec2 ove_texcoord;
// Output color
out vec4 fragColor;
void main() {
vec2 using_texcoord = ove_texcoord;
vec4 color = texture(ove_maintex, ove_texcoord);
fragColor = color;
}