punyverse/punyverse/shaders/sky.fragment.glsl
2018-08-26 18:11:18 -04:00

10 lines
157 B
GLSL

#version 130
in vec2 v_uv;
out vec4 o_fragColor;
uniform sampler2D u_skysphere;
void main() {
o_fragColor = vec4(texture(u_skysphere, v_uv).rgb, 1);
}