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.

25 lines 1.01 kB
// 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 vColor: vec4f;varying vPosition: vec2f; #include<gaussianSplattingFragmentDeclaration> @fragment fn main(input: FragmentInputs)->FragmentOutputs { #include<clipPlaneFragment> fragmentOutputs.color=gaussianColor(input.vColor,input.vPosition);} `; // Sideeffect if (!ShaderStore.ShadersStoreWGSL[name]) { ShaderStore.ShadersStoreWGSL[name] = shader; } /** @internal */ export const gaussianSplattingPixelShaderWGSL = { name, shader }; //# sourceMappingURL=gaussianSplatting.fragment.js.map