Struct CachedMainLightShadows.Mapping
Where URP's slice reads its window this frame: cache atlas uv = slice NDC xy × Scale + Offset; URP raw depth = cache raw depth × DepthScale + DepthOffset.
public struct CachedMainLightShadows.Mapping
- Inherited Members
Fields
DepthOffset
public float DepthOffset
Field Value
DepthScale
public float DepthScale
Field Value
Offset
public Vector2 Offset
Field Value
- Vector2
Scale
public Vector2 Scale
Field Value
- Vector2