I use chrome dev tool to profile my game, and found the function getshaderParameter function use too much time, this makes my game slow。
Obviously, this is related to render stuff, but I would like to know more about this function, why it takes so long time to execute, which exactly object in my scene cause this problem? which shader ?
Maybe related to show some more other object ? cause right after the timeline, the game about show another object.
I would like to hear from you guys