Merging materials with differing texture offsets

Hello all,

As the title of the post implies, I was curious if merging materials to reduce draw calls will work if each game object has differing texture offsets? If so, could anyone possibly show me a demonstration of a technique in which it would work?

I have a tile-based environment that uses many game objects as sprites to represent the ground, each with a separate material (instance). As I’ve continued to build, it has gotten a little unwieldy.

Any suggestions for optimization?

No, two materials with two different offsets can’t be the same.

–Eric

Thanks for the response Eric

I have tried changing the UV maps procedurally, and that appears to be having success.