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) 524 B
import { S as ShaderStore } from './index-MZPybX0H.esm.js'; // Do not edit. const name = "logDepthDeclaration"; const shader = `#ifdef LOGARITHMICDEPTH uniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32; #endif `; // Sideeffect if (!ShaderStore.IncludesShadersStoreWGSL[name]) { ShaderStore.IncludesShadersStoreWGSL[name] = shader; } /** @internal */ const logDepthDeclarationWGSL = { name, shader }; export { logDepthDeclarationWGSL as l }; //# sourceMappingURL=logDepthDeclaration-BPJH8Xtb.esm.js.map