Different Materials, different Textures, Same Shader and SRP Batcher

Hey all, I’m pretty new to this SRP Batcher, and found lots of good resources reading on this such as these:

and a few other posts.

One question I have is, if my understanding is correct, is it possible to use different materials of the same shader but uses different texture and get SRP batched together? For example, in an extreme case if I hypothetically have a scene that uses all the same shader but are different materials each referencing their own separate texture, will they get the benefit of being SRP batched together?

1 Like

Yes

One thing to note if the texture has a alpha cutoff (sprite atlas of some sort) it may break the batch based on distance from the camera

2 Likes

awesome, thanks for the prompt response.

2 Likes