UNPKG

@babylonjs/core

Version:

Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.

24 lines 921 B
// Do not edit. import { ShaderStore } from "../Engines/shaderStore.js"; import "./ShadersInclude/clipPlaneFragmentDeclaration.js"; import "./ShadersInclude/logDepthDeclaration.js"; import "./ShadersInclude/fogFragmentDeclaration.js"; import "./ShadersInclude/gaussianSplattingFragmentDeclaration.js"; import "./ShadersInclude/clipPlaneFragment.js"; const name = "gaussianSplattingPixelShader"; const shader = `#include<clipPlaneFragmentDeclaration> #include<logDepthDeclaration> #include<fogFragmentDeclaration> varying vec4 vColor;varying vec2 vPosition; #include<gaussianSplattingFragmentDeclaration> void main () { #include<clipPlaneFragment> gl_FragColor=gaussianColor(vColor);} `; // Sideeffect if (!ShaderStore.ShadersStore[name]) { ShaderStore.ShadersStore[name] = shader; } /** @internal */ export const gaussianSplattingPixelShader = { name, shader }; //# sourceMappingURL=gaussianSplatting.fragment.js.map