ShadowVolumeFS.js 429 B

12345678910111213141516171819
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "#ifdef GL_EXT_frag_depth\n\
  3. #extension GL_EXT_frag_depth : enable\n\
  4. #endif\n\
  5. \n\
  6. #ifdef VECTOR_TILE\n\
  7. uniform vec4 u_highlightColor;\n\
  8. #endif\n\
  9. \n\
  10. void main(void)\n\
  11. {\n\
  12. #ifdef VECTOR_TILE\n\
  13. gl_FragColor = czm_gammaCorrect(u_highlightColor);\n\
  14. #else\n\
  15. gl_FragColor = vec4(1.0);\n\
  16. #endif\n\
  17. czm_writeDepthClamp();\n\
  18. }\n\
  19. ";