docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PreRenderSky

    PreRenderSky(BuiltinSkyParameters, bool, bool)

    Preprocess for rendering the sky. Called before the DepthPrePass operations

    Declaration
    [Obsolete("Please override PreRenderSky(BuiltinSkyParameters) instead.")]
    public virtual void PreRenderSky(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.

    PreRenderSky(BuiltinSkyParameters)

    Preprocess for rendering the sky. Called before the DepthPrePass operations

    Declaration
    public virtual void PreRenderSky(BuiltinSkyParameters builtinParams)
    Parameters
    Type Name Description
    BuiltinSkyParameters builtinParams

    Engine parameters that you can use to render the sky.

    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)