docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor SpeedTree8MaterialUpgrader

    SpeedTree8MaterialUpgrader(string, string, MaterialFinalizer)

    Creates a material upgrader that handles the property renames that HD and Universal have in common when upgrading from the built-in SpeedTree 8 shader.

    Declaration
    public SpeedTree8MaterialUpgrader(string sourceShaderName, string destShaderName, MaterialUpgrader.MaterialFinalizer finalizer = null)
    Parameters
    Type Name Description
    string sourceShaderName

    Original SpeedTree8 shader name.

    string destShaderName

    New SpeedTree 8 shader name.

    MaterialUpgrader.MaterialFinalizer finalizer

    A delegate that postprocesses the material for the render pipeline in use.

    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)