docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)