Currently, new textures are created for each model buffer. A texture repository of sorts could be introduced to store WebGL textures related to each ren2 "texture" (no such concept exists right now, so one would need created). Texture re-use would save GPU memory and drop the overhead of texture switching between models using the same textures.
Currently, new textures are created for each model buffer. A texture repository of sorts could be introduced to store WebGL textures related to each ren2 "texture" (no such concept exists right now, so one would need created). Texture re-use would save GPU memory and drop the overhead of texture switching between models using the same textures.