@babylonjs/viewer
Version:
The Babylon Viewer aims to simplify a specific but common Babylon.js use case: loading, viewing, and interacting with a 3D model.
3 lines (2 loc) • 379 B
JavaScript
import{S as e}from"./index-BPURObVq.esm.min.js";const t="logDepthVertex",n="#ifdef LOGARITHMICDEPTH\nvFragmentDepth=1.0+gl_Position.w;gl_Position.z=log2(max(0.000001,vFragmentDepth))*logarithmicDepthConstant;\n#endif\n";e.IncludesShadersStore[t]||(e.IncludesShadersStore[t]=n);const o={name:t,shader:n};export{o as l};
//# sourceMappingURL=logDepthVertex-C_c4pzf4.esm.min.js.map