jeudi 26 avril 2018

Web GL. Slow render with texture change

I'm using empscripten. After several tests, I came to the conclusion that if I draw 500 identical textures, everything works fine. But if I draw 2 different textures 500 times, I get a big load on the processor. 14 against 60% on the osx. In windows, almost the same problem (6 versus 16%), only the difference is small. both textures have a size of 2x2 pixels.

Can I somehow optimize this?




Aucun commentaire:

Enregistrer un commentaire