rendering-skybox-cube.frag 205 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 // Fragment shader for a textured cube uniform sampler2D uTexture; varying mediump vec2 vTexCoord; void main() { mediump vec4 texColor = texture2D( uTexture, vTexCoord ); gl_FragColor = texColor; }