123456789101112131415161718192021222324252627 |
- // Do not edit.
- import { ShaderStore } from "../../Engines/shaderStore.js";
- const name = "clipPlaneVertex";
- const shader = `#ifdef CLIPPLANE
- fClipDistance=dot(worldPos,vClipPlane);
- #endif
- #ifdef CLIPPLANE2
- fClipDistance2=dot(worldPos,vClipPlane2);
- #endif
- #ifdef CLIPPLANE3
- fClipDistance3=dot(worldPos,vClipPlane3);
- #endif
- #ifdef CLIPPLANE4
- fClipDistance4=dot(worldPos,vClipPlane4);
- #endif
- #ifdef CLIPPLANE5
- fClipDistance5=dot(worldPos,vClipPlane5);
- #endif
- #ifdef CLIPPLANE6
- fClipDistance6=dot(worldPos,vClipPlane6);
- #endif
- `;
- // Sideeffect
- ShaderStore.IncludesShadersStore[name] = shader;
- /** @internal */
- export const clipPlaneVertex = { name, shader };
- //# sourceMappingURL=clipPlaneVertex.js.map
|