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) 354 B
import{S as o}from"./index-BPURObVq.esm.min.js";const r="oitBackBlendPixelShader";o.ShadersStore[r]||(o.ShadersStore[r]="precision highp float;uniform sampler2D uBackColor;void main() {glFragColor=texelFetch(uBackColor,ivec2(gl_FragCoord.xy),0);if (glFragColor.a==0.0) { \ndiscard;}}"); //# sourceMappingURL=oitBackBlend.fragment-CceG8u3r.esm.min.js.map