ShadowVolumeFS.js 421 B

1234567891011121314151617
  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. #ifdef VECTOR_TILE\n\
  6. uniform vec4 u_highlightColor;\n\
  7. #endif\n\
  8. void main(void)\n\
  9. {\n\
  10. #ifdef VECTOR_TILE\n\
  11. gl_FragColor = czm_gammaCorrect(u_highlightColor);\n\
  12. #else\n\
  13. gl_FragColor = vec4(1.0);\n\
  14. #endif\n\
  15. czm_writeDepthClampedToFarPlane();\n\
  16. }\n\
  17. ";