Method RenderSunLightCookie
RenderSunLightCookie(BuiltinSunCookieParameters)
HDRP calls this function once every frame where GetSunLightCookieParameters returns true. Implement it if your CloudRenderer needs to render a texture to use for the light cookie (for example for cloud shadow rendering).
Declaration
public virtual void RenderSunLightCookie(BuiltinSunCookieParameters builtinParams)
Parameters
Type | Name | Description |
---|---|---|
BuiltinSunCookieParameters | builtinParams | Engine parameters that you can use to render the sun light cookie. |