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.

18 lines (15 loc) 510 B
import { S as ShaderStore } from './index-MZPybX0H.esm.js'; // Do not edit. const name = "logDepthDeclaration"; const shader = `#ifdef LOGARITHMICDEPTH uniform float logarithmicDepthConstant;varying float vFragmentDepth; #endif `; // Sideeffect if (!ShaderStore.IncludesShadersStore[name]) { ShaderStore.IncludesShadersStore[name] = shader; } /** @internal */ const logDepthDeclaration = { name, shader }; export { logDepthDeclaration as l }; //# sourceMappingURL=logDepthDeclaration-BdXvBJD5.esm.js.map