ReprojectWebMercatorVS.js 418 B

1234567891011121314
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "attribute vec4 position;\n\
  3. attribute float webMercatorT;\n\
  4. \n\
  5. uniform vec2 u_textureDimensions;\n\
  6. \n\
  7. varying vec2 v_textureCoordinates;\n\
  8. \n\
  9. void main()\n\
  10. {\n\
  11. v_textureCoordinates = vec2(position.x, webMercatorT);\n\
  12. gl_Position = czm_viewportOrthographic * (position * vec4(u_textureDimensions, 1.0, 1.0));\n\
  13. }\n\
  14. ";