I want to optimize cocos creator to improve fps and draw calls. I followed the docs but it doesn’t work in version 3. When I spawn a node, the draw call increases, the node I spawn doesn’t have a sprite yet.
Please help me!
@Tom_k please help me!
Here is the link to tell you how to optimize drawcalls on Cocos, Tutorial: Cocos Creator performance optmization: DrawCall. Please have a try. And if there any problem, please let me know.
As docs cocos creator I calculated there are only 4 drawcalls
There is a good extension to debug draw call in chrome called Spector.js
You can count how many draw command have called by this tool.
In your case I think you have 2 camera and it will render each object twice, one for each camera. Try to delete 1 camera and see what happen.
1 Like
That’s right, I use 2 cameras so the drawcall is x2 but I don’t understand why in unity, if I put multiple cameras, it will draw what it sees and cocos creator is like that