@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) • 540 B
JavaScript
import{S as e}from"./index-BPURObVq.esm.min.js";import{h as r}from"./helperFunctions-Sht42MtG.esm.min.js";const n="rgbdEncodePixelShader";e.ShadersStore[n]||(e.ShadersStore[n]="varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=toRGBD(texture2D(textureSampler,vUV).rgb);}");const o=[r];for(const r of o)e.IncludesShadersStore[r.name]||(e.IncludesShadersStore[r.name]=r.shader);
//# sourceMappingURL=rgbdEncode.fragment-BpYHXVKX.esm.min.js.map