Access properties in combined meshes
Use MaterialPropertyBlocks to change properties of combined meshes without breaking batching.
Read time 1 minuteLast updated a month ago
In the Built-in Render Pipeline, you can use a MaterialPropertyBlock to change material properties without breaking draw call batching. The CPU still needs to make some render-state changes, but using a is faster than using multiple materials.
MaterialPropertyBlockIf your project uses a Scriptable Render Pipeline, don't use a because they remove SRP Batcher compatibility for the material. Use different materials for the different properties instead.
MaterialPropertyBlock