Skip to content

Investigate using MaterialPropertyBlock to avoid instancing materials #148

Description

@JonnyOThan

Calling Renderer.material will cause Unity to create a copy of the material. We could avoid this by using MaterialPropertyBlocks instead: https://docs.unity3d.com/ScriptReference/MaterialPropertyBlock.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions