docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RenderSky

    RenderSky(BuiltinSkyParameters, bool, bool)

    Implements actual rendering of the sky. HDRP calls this when rendering the sky into a cubemap (for lighting) and also during main frame rendering.

    Declaration
    public abstract void RenderSky(BuiltinSkyParameters builtinParams, bool renderForCubemap, bool renderSunDisk)
    Parameters
    Type Name Description
    BuiltinSkyParameters builtinParams

    Engine parameters that you can use to render the sky.

    bool renderForCubemap

    Pass in true if you want to render the sky into a cubemap for lighting. This is useful when the sky renderer needs a different implementation in this case.

    bool renderSunDisk

    If the sky renderer supports the rendering of a sun disk, it must not render it if this is set to false.

    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)