Closed Inspirateur closed 3 months ago
I went for the easy solution of just instancing all meshes even the empty one and it works, i don't think it adds too much cost because these meshes are very rare and it certainly doesn't add complexity since I juste removed an early return. It's a pretty good solution for now :)
Just copy pasting the comment I left in the relevant system
An easy solution is to instanciate all chunk meshes even if they are empty, but the ChunkEntities map feels bad, it would be good to use something better ...
Prime example here:![image](https://github.com/Inspirateur/riverbed/assets/22746898/b5dd3f56-7180-4db8-a8e9-75f00457685c)