docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetDiffusionProfileShaderGraph

    SetDiffusionProfileShaderGraph(Material, DiffusionProfileSettings, string)

    Set a Diffusion profile on a Shader Graph material.

    Declaration
    public static void SetDiffusionProfileShaderGraph(Material material, DiffusionProfileSettings profile, string referenceName)
    Parameters
    Type Name Description
    Material material

    The material to change.

    DiffusionProfileSettings profile

    The Diffusion Profile Asset.

    string referenceName

    The reference name of the Diffusion Profile property in the Shader Graph.

    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)