shadowMapFragmentDeclaration.fx 333 B

1234567891011121314151617
  1. #if SM_FLOAT == 0
  2. #include<packingFunctions>
  3. #endif
  4. varying float vDepthMetricSM;
  5. #if SM_USEDISTANCE == 1
  6. uniform vec3 lightDataSM;
  7. varying vec3 vPositionWSM;
  8. #endif
  9. uniform vec3 biasAndScaleSM;
  10. uniform vec2 depthValuesSM;
  11. #if defined(SM_DEPTHCLAMP) && SM_DEPTHCLAMP == 1
  12. varying float zSM;
  13. #endif