punyverse/punyverse/shaders/atmosphere.fragment.glsl

11 lines
140 B
Plaintext
Raw Normal View History

2018-08-28 15:46:54 -04:00
#version 130
in float v_u;
out vec4 o_fragColor;
uniform sampler1D u_texture;
void main() {
o_fragColor = texture(u_texture, v_u);
}