Files
mainsail/assets/logDepthVertex-SrVRb0bM.js
2025-04-29 17:05:55 +09:00

2 lines
305 B
JavaScript

import{S as t}from"./Viewer-DVCEMRp5.js";const e="logDepthVertex",r="#ifdef LOGARITHMICDEPTH\nvertexOutputs.vFragmentDepth=1.0+vertexOutputs.position.w;vertexOutputs.position.z=log2(max(0.000001,vertexOutputs.vFragmentDepth))*uniforms.logarithmicDepthConstant;\n#endif\n";t.IncludesShadersStoreWGSL[e]=r;