UNPKG

@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) 446 B
import{S as t}from"./index-BPURObVq.esm.min.js";const e="logDepthVertex",s="#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]||(t.IncludesShadersStoreWGSL[e]=s);const n={name:e,shader:s};export{n as l}; //# sourceMappingURL=logDepthVertex-DVeP6y69.esm.min.js.map