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) 564 B
import{S as e}from"./index-Bw2N6w1y.esm.min.js";import"./helperFunctions-BD2JDv1s.esm.min.js";const r="rgbdDecodePixelShader";e.ShadersStoreWGSL[r]||(e.ShadersStoreWGSL[r]="varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=vec4f(fromRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV)),1.0);}"); //# sourceMappingURL=rgbdDecode.fragment-DTkukzSQ.esm.min.js.map