docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetupShadowCasterConstantBuffer

    SetupShadowCasterConstantBuffer(CommandBuffer, ref VisibleLight, Vector4)

    Sets up the shadow bias, light direction and position for rendering.

    Declaration
    public static void SetupShadowCasterConstantBuffer(CommandBuffer cmd, ref VisibleLight shadowLight, Vector4 shadowBias)
    Parameters
    Type Name Description
    CommandBuffer cmd
    VisibleLight shadowLight
    Vector4 shadowBias
    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)