docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BlitCubeToOctahedral2DQuad

    BlitCubeToOctahedral2DQuad(CommandBuffer, Texture, Vector4, int)

    Blit a cube texture into 2d texture as octahedral quad. (projection)

    Declaration
    public static void BlitCubeToOctahedral2DQuad(CommandBuffer cmd, Texture source, Vector4 scaleBiasRT, int mipLevelTex)
    Parameters
    Type Name Description
    CommandBuffer cmd

    Command buffer used for rendering.

    Texture source

    Source cube texture.

    Vector4 scaleBiasRT

    Scale and bias for the output texture.

    int mipLevelTex

    Mip level to sample.

    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)