SkyBoxVS.js 422 B

12345678910111213141516
  1. //This file is automatically rebuilt by the Cesium build process.
  2. /*global define*/
  3. define(function() {
  4. "use strict";
  5. return "attribute vec3 position;\n\
  6. \n\
  7. varying vec3 v_texCoord;\n\
  8. \n\
  9. void main()\n\
  10. {\n\
  11. vec3 p = czm_viewRotation * (czm_temeToPseudoFixed * (czm_entireFrustum.y * position));\n\
  12. gl_Position = czm_projection * vec4(p, 1.0);\n\
  13. v_texCoord = position.xyz;\n\
  14. }\n\
  15. ";
  16. });