Searched refs:fSamplingError (Results 1 – 1 of 1) sorted by relevance
83 const float fSamplingError = 2.0 * dot(vec2(1.0) * texelSize, abs(receiverPlaneDepthBias)); in CalcPcfShadow() local85 const float compareDepth = shadowCoord.z - min(fSamplingError, 0.01); in CalcPcfShadow()155 const float fSamplingError = 2.0 * dot(vec2(1.0) * texelSize, abs(receiverPlaneDepthBias)); in CalcPcfShadowMed() local157 const float compareDepth = shadowCoord.z - min(fSamplingError, 0.01); in CalcPcfShadowMed()