islerfab/cg-lab-project

Remove lag when counting down air

Closed this issue · 0 comments

2 possible sources:

  • too many logs
  • create shader every time text changes

Possible optimizations:

  • Use deltaTime as time measure
  • Maybe try to edit text sprite instead of creating a new one all the time in the loop