docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateReflectionProbeRenderTarget

    CreateReflectionProbeRenderTarget(int)

    Create the texture used as target for a realtime reflection probe.

    Declaration
    [Obsolete("Use CreateReflectionProbeRenderTarget with explicit format instead", true)]
    public static RenderTexture CreateReflectionProbeRenderTarget(int cubemapSize)
    Parameters
    Type Name Description
    int cubemapSize

    The cubemap size.

    Returns
    Type Description
    RenderTexture

    The texture to use as reflection probe target.

    CreateReflectionProbeRenderTarget(int, GraphicsFormat)

    Create the texture used as target for a realtime reflection probe.

    Declaration
    public static RenderTexture CreateReflectionProbeRenderTarget(int cubemapSize, GraphicsFormat format)
    Parameters
    Type Name Description
    int cubemapSize

    The cubemap size.

    GraphicsFormat format

    The cubemap format. It must match the format set in the asset.

    Returns
    Type Description
    RenderTexture

    The texture to use as reflection probe target.

    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)