punyverse/punyverse/shaders/sky.fragment.glsl

10 lines
157 B
Plaintext
Raw Normal View History

2018-08-25 20:53:21 -04:00
#version 130
in vec2 v_uv;
2018-08-26 18:11:18 -04:00
out vec4 o_fragColor;
2018-08-25 20:53:21 -04:00
uniform sampler2D u_skysphere;
void main() {
2018-08-26 18:11:18 -04:00
o_fragColor = vec4(texture(u_skysphere, v_uv).rgb, 1);
2018-08-25 20:53:21 -04:00
}