shadowMapVertexExtraDeclaration.js 615 B

12345678910111213141516171819
  1. // Do not edit.
  2. import { ShaderStore } from "../../Engines/shaderStore.js";
  3. const name = "shadowMapVertexExtraDeclaration";
  4. const shader = `#if SM_NORMALBIAS==1
  5. uniform vec3 lightDataSM;
  6. #endif
  7. uniform vec3 biasAndScaleSM;uniform vec2 depthValuesSM;varying float vDepthMetricSM;
  8. #if SM_USEDISTANCE==1
  9. varying vec3 vPositionWSM;
  10. #endif
  11. #if defined(SM_DEPTHCLAMP) && SM_DEPTHCLAMP==1
  12. varying float zSM;
  13. #endif
  14. `;
  15. // Sideeffect
  16. ShaderStore.IncludesShadersStore[name] = shader;
  17. /** @internal */
  18. export const shadowMapVertexExtraDeclaration = { name, shader };
  19. //# sourceMappingURL=shadowMapVertexExtraDeclaration.js.map