diff --git a/vendor/clouds3d.js b/vendor/clouds3d.js index b755466..63f4a57 100644 --- a/vendor/clouds3d.js +++ b/vendor/clouds3d.js @@ -447,7 +447,7 @@ function initGroundSystem(glCtx) { groundCtx.fillRect(0, 0, groundCanvas.width, groundCanvas.height); groundTexture = groundGl.createTexture(); groundGl.bindTexture(groundGl.TEXTURE_2D, groundTexture); - groundGl.pixelStorei(groundGl.UNPACK_FLIP_Y_WEBGL, true); + groundGl.pixelStorei(groundGl.UNPACK_FLIP_Y_WEBGL, false); groundGl.texImage2D(groundGl.TEXTURE_2D, 0, groundGl.RGBA, groundGl.RGBA, groundGl.UNSIGNED_BYTE, groundCanvas); groundGl.texParameteri(groundGl.TEXTURE_2D, groundGl.TEXTURE_WRAP_S, groundGl.CLAMP_TO_EDGE); groundGl.texParameteri(groundGl.TEXTURE_2D, groundGl.TEXTURE_WRAP_T, groundGl.CLAMP_TO_EDGE);