I'm finishing my game, i'm in the stage of optimisation, i tried multithreaded rendering and dynamic batching, with OpenGLES3.. i get a little bit increase , but now i'm getting function Clear take too much GPU ms.. any help guys

enter image description here

  • \$\begingroup\$ What shaders do you use? \$\endgroup\$ – Jacob Sep 22 '17 at 13:59
  • \$\begingroup\$ the build in Mobile.difuse \$\endgroup\$ – أيمن تليلي Sep 22 '17 at 14:37
  • \$\begingroup\$ Try clearing only the depth by setting the clear flag in your camera. Then the GPU won't waste time erasing the pixel buffer, which will get overwritten anyway. Except if you are not filling every single pixel every frame, then that wouldn't work. \$\endgroup\$ – Lasse Sep 22 '17 at 19:53
  • \$\begingroup\$ Thx lasse ill try it when i get home , but actually how do i check if im filling every single pixel every frame or not ? (I think i'm btw ) \$\endgroup\$ – أيمن تليلي Sep 23 '17 at 14:44
  • \$\begingroup\$ @Lasse that didn't work \$\endgroup\$ – أيمن تليلي Sep 24 '17 at 14:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.