@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.
22 lines (20 loc) • 758 B
JavaScript
import { S as ShaderStore } from './index-MZPybX0H.esm.js';
import { h as helperFunctions } from './helperFunctions-BVaVsPjM.esm.js';
// Do not edit.
const name = "rgbdDecodePixelShader";
const shader = `varying vec2 vUV;uniform sampler2D textureSampler;
void main(void)
{gl_FragColor=vec4(fromRGBD(texture2D(textureSampler,vUV)),1.0);}`;
// Sideeffect
if (!ShaderStore.ShadersStore[name]) {
ShaderStore.ShadersStore[name] = shader;
}
const includes = [helperFunctions];
for (const inc of includes) {
if (!ShaderStore.IncludesShadersStore[inc.name]) {
ShaderStore.IncludesShadersStore[inc.name] = inc.shader;
}
}
//# sourceMappingURL=rgbdDecode.fragment-Ck4Rqx8i.esm.js.map