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.

12 lines (10 loc) 460 B
import { S as ShaderStore } from './index-MZPybX0H.esm.js'; // Do not edit. const name = "oitBackBlendPixelShader"; const shader = `precision highp float;uniform sampler2D uBackColor;void main() {glFragColor=texelFetch(uBackColor,ivec2(gl_FragCoord.xy),0);if (glFragColor.a==0.0) { discard;}}`; // Sideeffect if (!ShaderStore.ShadersStore[name]) { ShaderStore.ShadersStore[name] = shader; } //# sourceMappingURL=oitBackBlend.fragment-DnWJxTtt.esm.js.map