supercell-wx/scwx-qt/gl/texture1d.frag
2021-11-16 22:43:52 -06:00

15 lines
238 B
GLSL

#version 330 core
// Lower the default precision to medium
precision mediump float;
uniform sampler1D uTexture;
in float texCoord;
layout (location = 0) out vec4 fragColor;
void main()
{
fragColor = texture(uTexture, texCoord);
}