EDIT: I did more profiling (using Chrome’s “Performance” tab) and realized WebGL’s texImage2D call is taking a significant portion of the processing time (70+%).
Any idea if a better GPU would help in this case? And software wise, is there any code optimization that I can consider using? (E.g. I read about using texSubImage2D instead of texImage2D, but this call is within the Babylon.js framework and I am unsure how to change that)