uniform samplerCube tCube; uniform float tFlip; in vec3 vWorldPosition; #include common #include logdepthbuf_pars_fragment void main() { fragColor = texture( tCube, vec3( tFlip * vWorldPosition.x, vWorldPosition.yz ) ); #include logdepthbuf_fragment }