SkyBoxVS.js 355 B

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