mirror of
https://github.com/quantum5/punyverse.git
synced 2025-04-24 13:11:57 -04:00
Orient the sky texture more correctly.
This commit is contained in:
parent
896d9d88b7
commit
bbfacd55e4
|
@ -5,5 +5,5 @@ out vec4 o_fragColor;
|
|||
uniform sampler2D u_skysphere;
|
||||
|
||||
void main() {
|
||||
o_fragColor = vec4(texture(u_skysphere, v_uv).rgb, 1);
|
||||
o_fragColor = vec4(texture(u_skysphere, vec2(1 - v_uv.s, v_uv.t)).rgb, 1);
|
||||
}
|
||||
|
|
|
@ -302,9 +302,9 @@
|
|||
"texture": ["sky.jpg", "sky_large.jpg", "sky_medium.jpg", "sky_small.jpg"],
|
||||
"rotation": 0,
|
||||
"division": 30,
|
||||
"pitch": 90,
|
||||
"yaw": 30,
|
||||
"roll": -90
|
||||
"pitch": -150.19,
|
||||
"yaw": 0,
|
||||
"roll": 0
|
||||
},
|
||||
"asteroids": ["asteroids/01.obj", "asteroids/02.obj", "asteroids/03.obj"],
|
||||
"start": {
|
||||
|
|
Loading…
Reference in a new issue