mirror of
https://github.com/quantum5/punyverse.git
synced 2025-04-24 21:21:59 -04:00
10 lines
177 B
GLSL
10 lines
177 B
GLSL
#version 130
|
|
|
|
in vec2 v_uv;
|
|
out vec4 o_fragColor;
|
|
uniform sampler2D u_skysphere;
|
|
|
|
void main() {
|
|
o_fragColor = vec4(texture(u_skysphere, vec2(1 - v_uv.s, v_uv.t)).rgb, 1);
|
|
}
|