Skip to content

Investigate using MaterialPropertyBlock to avoid instancing materials #148

@JonnyOThan

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

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