PassThroughDepth.glsl 172 B

12345678
  1. uniform sampler2D u_depthTexture;
  2. varying vec2 v_textureCoordinates;
  3. void main()
  4. {
  5. gl_FragColor = czm_packDepth(texture2D(u_depthTexture, v_textureCoordinates).r);
  6. }