@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.
38 lines • 1.01 kB
JavaScript
// Do not edit.
import { ShaderStore } from "../../Engines/shaderStore.js";
const name = "clipPlaneFragment";
const shader = `
if (false) {}
else if (fragmentInputs.fClipDistance>0.0)
{discard;}
else if (fragmentInputs.fClipDistance2>0.0)
{discard;}
else if (fragmentInputs.fClipDistance3>0.0)
{discard;}
else if (fragmentInputs.fClipDistance4>0.0)
{discard;}
else if (fragmentInputs.fClipDistance5>0.0)
{discard;}
else if (fragmentInputs.fClipDistance6>0.0)
{discard;}
`;
// Sideeffect
if (!ShaderStore.IncludesShadersStoreWGSL[name]) {
ShaderStore.IncludesShadersStoreWGSL[name] = shader;
}
/** @internal */
export const clipPlaneFragmentWGSL = { name, shader };
//# sourceMappingURL=clipPlaneFragment.js.map