monsharen / build-engine-unity

Implementation of Build Engine features in Unity
2 stars 1 forks source link

Switch to texture atlasing for effective batching #1

Closed thomas-rosenquist closed 7 months ago

thomas-rosenquist commented 8 months ago

We currently render everything non-batched which is quite slow, and to allow for batching we'll need to switch from individual texture files to a texture atlas.

monsharen commented 7 months ago

Implemented caching of Materials rather than Textures. Assigning a texture at runtime generates a unique material, but assigning materials is fine and can be batched