1
0
forked from Rowland/EG
EG/Cesium-1.132/packages/engine/Source/Shaders/Builtin/Functions/readDepth.js
2025-08-25 17:48:13 +08:00

7 lines
229 B
JavaScript

//This file is automatically rebuilt by the Cesium build process.
export default "float czm_readDepth(sampler2D depthTexture, vec2 texCoords)\n\
{\n\
return czm_reverseLogDepth(texture(depthTexture, texCoords).r);\n\
}\n\
";