Constructs a new override material manager.
Optional
material: MaterialAn override material.
Static
workaroundIndicates whether the override material workaround is enabled.
Enables or disables the override material workaround globally.
This only affects post processing passes and effects.
An override material manager.
Includes a workaround that fixes override materials for skinned meshes and instancing. Doesn't fix uniforms such as normal maps and displacement maps. Using the workaround may have a negative impact on performance if the scene contains a lot of meshes.
Implements