skybox.frag 184 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 uniform samplerCube uSkyBoxTexture; varying mediump vec3 vTexCoord; void main() { mediump vec4 texColor = textureCube( uSkyBoxTexture, vTexCoord, 0.0); gl_FragColor = texColor; }