SkyBoxVS.glsl 240 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 attribute vec3 position; varying vec3 v_texCoord; void main() { vec3 p = czm_viewRotation * (czm_temeToPseudoFixed * (czm_entireFrustum.y * position)); gl_Position = czm_projection * vec4(p, 1.0); v_texCoord = position.xyz; }