DepthView.js 297 B

123456789
  1. //This file is automatically rebuilt by the Cesium build process.
  2. export default "uniform sampler2D depthTexture;\n\
  3. varying vec2 v_textureCoordinates;\n\
  4. void main(void)\n\
  5. {\n\
  6. float depth = czm_readDepth(depthTexture, v_textureCoordinates);\n\
  7. gl_FragColor = vec4(vec3(depth), 1.0);\n\
  8. }\n\
  9. ";