Home
last modified time | relevance | path

Searched refs:uvBias (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.h29 vec2 uvBias; in ComputeReceiverPlaneDepthBias() local
30 uvBias.x = uvDdy.y * uvDdx.z - uvDdx.y * uvDdy.z; in ComputeReceiverPlaneDepthBias()
31 uvBias.y = uvDdx.x * uvDdy.z - uvDdy.x * uvDdx.z; in ComputeReceiverPlaneDepthBias()
32 uvBias *= 1.0f / ((uvDdx.x * uvDdy.y) - (uvDdx.y * uvDdy.x)); in ComputeReceiverPlaneDepthBias()
33 return uvBias; in ComputeReceiverPlaneDepthBias()