Home
last modified time | relevance | path

Searched refs:receiverPlaneDepthBias (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_shadowing_common.h37 const vec2 texelSize, const vec2 receiverPlaneDepthBias) in GetPcfSample() argument
41 const float compZ = compareDepth + dot(uvOffset, receiverPlaneDepthBias); in GetPcfSample()
80 const vec2 receiverPlaneDepthBias = ComputeReceiverPlaneDepthBias(shadowDdx, shadowDdy); in CalcPcfShadow() local
83 const float fSamplingError = 2.0 * dot(vec2(1.0) * texelSize, abs(receiverPlaneDepthBias)); in CalcPcfShadow()
88 const vec2 receiverPlaneDepthBias = vec2(shadowFactor.y, shadowFactor.y); in CalcPcfShadow() local
110 … vw0 * GetPcfSample(shadow, baseUv, vec2(u0, v0), compareDepth, texelSize, receiverPlaneDepthBias); in CalcPcfShadow()
111 … vw0 * GetPcfSample(shadow, baseUv, vec2(u1, v0), compareDepth, texelSize, receiverPlaneDepthBias); in CalcPcfShadow()
112 … vw0 * GetPcfSample(shadow, baseUv, vec2(u2, v0), compareDepth, texelSize, receiverPlaneDepthBias); in CalcPcfShadow()
152 const vec2 receiverPlaneDepthBias = ComputeReceiverPlaneDepthBias(shadowDdx, shadowDdy); in CalcPcfShadowMed() local
155 const float fSamplingError = 2.0 * dot(vec2(1.0) * texelSize, abs(receiverPlaneDepthBias)); in CalcPcfShadowMed()
[all …]