PerInstanceFlatColorAppearanceVS.js 369 B

12345678910111213
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "attribute vec3 position3DHigh;\n\
  3. attribute vec3 position3DLow;\n\
  4. attribute vec4 color;\n\
  5. attribute float batchId;\n\
  6. varying vec4 v_color;\n\
  7. void main()\n\
  8. {\n\
  9. vec4 p = czm_computePosition();\n\
  10. v_color = color;\n\
  11. gl_Position = czm_modelViewProjectionRelativeToEye * p;\n\
  12. }\n\
  13. ";