PolylineFS.js 509 B

123456789101112131415161718
  1. //This file is automatically rebuilt by the Cesium build process.
  2. /*global define*/
  3. define(function() {
  4. "use strict";
  5. return "varying vec2 v_st;\n\
  6. \n\
  7. void main()\n\
  8. {\n\
  9. czm_materialInput materialInput;\n\
  10. \n\
  11. materialInput.s = v_st.s;\n\
  12. materialInput.st = v_st;\n\
  13. materialInput.str = vec3(v_st, 0.0);\n\
  14. \n\
  15. czm_material material = czm_getMaterial(materialInput);\n\
  16. gl_FragColor = vec4(material.diffuse + material.emission, material.alpha);\n\
  17. }";
  18. });