I am using Effekseer for making effects in my playcanvas game. However, I noticed that it takes quite a lot of resources for saving and restoring gl states before and after every draw. On Android phones, for example, saving/restoring takes around 40 FPS, apart from drawing effects, making it totally unusable. When I disable saving and restoring, transparent layers of the game (transparent materials and UI) are not rendering (though the effekseer effects are). Is there any way to avoid saving/restoring gl states and still have correct rendering of transparent layers?
Related GitHub Issue: Performance · Issue #10 · effekseer/playcanvas-effekseer · GitHub