rendering-skybox.frag 214 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 // Fragment shader for a skybox uniform samplerCube uSkyBoxTexture; varying mediump vec3 vTexCoord; void main() { mediump vec4 texColor = textureCube( uSkyBoxTexture, vTexCoord ); gl_FragColor = texColor; }