Hello again!
I am creating a sims like building game. Everything works perfect, but I think the game needs to be a bit faster. (optimization)
I have a prefab of a plane. The plane uses the standard shader with a grass texture.
At the start of the game a grid of 50x50 is created of this prefab. I can place things on those planes and build walls on them.
I can also build paths, or floors. When placing a floor my code simply changes the material.maintexture of the renderer component of that specific plane. This works fine.
But when optimizing, I want to reduce batches. So how would I make one mesh where I can change the texture at a specific point?
Or how could I optimize the things I am doing right now? (Talking about placing floors)
Thank you for your time, I can provide more information if needed.