docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ShaderInput.ShadowData

    This has been deprecated. Shadow slice matrices and per-light shadow parameters are now passed to the GPU using entries in buffers m_AdditionalLightsWorldToShadow_SSBO and m_AdditionalShadowParams_SSBO.

    Namespace: UnityEngine.Rendering.Universal
    Assembly: solution.dll
    Syntax
    public struct ShaderInput.ShadowData

    Fields

    shadowParams

    The shadow parameters.

    Declaration
    public Vector4 shadowParams
    Field Value
    Type Description
    Vector4

    worldToShadowMatrix

    The world to shadow matrix.

    Declaration
    public Matrix4x4 worldToShadowMatrix
    Field Value
    Type Description
    Matrix4x4
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)