@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.
28 lines • 892 B
JavaScript
// Do not edit.
import { ShaderStore } from "../../Engines/shaderStore.js";
import "./packingFunctions.js";
import "./bayerDitherFunctions.js";
const name = "shadowMapFragmentExtraDeclaration";
const shader = `
uniform softTransparentShadowSM: vec2f;
varying vDepthMetricSM: f32;
uniform lightDataSM: vec3f;varying vPositionWSM: vec3f;
uniform biasAndScaleSM: vec3f;uniform depthValuesSM: vec2f;
varying zSM: f32;
`;
// Sideeffect
if (!ShaderStore.IncludesShadersStoreWGSL[name]) {
ShaderStore.IncludesShadersStoreWGSL[name] = shader;
}
/** @internal */
export const shadowMapFragmentExtraDeclarationWGSL = { name, shader };
//# sourceMappingURL=shadowMapFragmentExtraDeclaration.js.map