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.

29 lines 904 B
// Do not edit. import { ShaderStore } from "../../Engines/shaderStore.js"; const name = "clipPlaneVertexDeclaration"; const shader = `#ifdef CLIPPLANE uniform vClipPlane: vec4<f32>;varying fClipDistance: f32; #endif #ifdef CLIPPLANE2 uniform vClipPlane2: vec4<f32>;varying fClipDistance2: f32; #endif #ifdef CLIPPLANE3 uniform vClipPlane3: vec4<f32>;varying fClipDistance3: f32; #endif #ifdef CLIPPLANE4 uniform vClipPlane4: vec4<f32>;varying fClipDistance4: f32; #endif #ifdef CLIPPLANE5 uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32; #endif #ifdef CLIPPLANE6 uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32; #endif `; // Sideeffect if (!ShaderStore.IncludesShadersStoreWGSL[name]) { ShaderStore.IncludesShadersStoreWGSL[name] = shader; } /** @internal */ export const clipPlaneVertexDeclarationWGSL = { name, shader }; //# sourceMappingURL=clipPlaneVertexDeclaration.js.map