DSDSWeb/static/js/Cesium-1.53/Source/Shaders/Builtin/Functions/readDepth.js

9 lines
268 B
JavaScript

//This file is automatically rebuilt by the Cesium build process.
define(function() {
'use strict';
return "float czm_readDepth(sampler2D depthTexture, vec2 texCoords)\n\
{\n\
return czm_reverseLogDepth(texture2D(depthTexture, texCoords).r);\n\
}\n\
";
});