Newer
Older
casic-smartcity-well-front / static / Cesium / Shaders / Builtin / Functions / readDepth.glsl
[wangxitong] on 8 Jul 2021 134 bytes mars3d总览
float czm_readDepth(sampler2D depthTexture, vec2 texCoords)
{
    return czm_reverseLogDepth(texture2D(depthTexture, texCoords).r);
}