Method SetupShadowCasterConstantBuffer
SetupShadowCasterConstantBuffer(CommandBuffer, ref VisibleLight, Vector4)
Sets up the shadow bias, light direction and position for rendering.
Declaration
public static void SetupShadowCasterConstantBuffer(CommandBuffer cmd, ref VisibleLight shadowLight, Vector4 shadowBias)
Parameters
Type | Name | Description |
---|---|---|
CommandBuffer | cmd | |
VisibleLight | shadowLight | |
Vector4 | shadowBias |