SkyBoxVS.js 335 B

12345678910
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "attribute vec3 position;\n\
  3. varying vec3 v_texCoord;\n\
  4. void main()\n\
  5. {\n\
  6. vec3 p = czm_viewRotation * (czm_temeToPseudoFixed * (czm_entireFrustum.y * position));\n\
  7. gl_Position = czm_projection * vec4(p, 1.0);\n\
  8. v_texCoord = position.xyz;\n\
  9. }\n\
  10. ";