Jump to content

large texture atlas performance


mcolman
 Share

Recommended Posts

Hi, just noticed my game has suddenly dropped fps quite dramatically (only on Chrome).

I found when I reduce my texture atlas from 4096 x 4096 to 4096 x 2048 my frame rate is back up to 60.

I'm a bit confused by this. My framerate only drops when I transition to a new screen which draws a few new sprites, but these sprites are still from the same texture atlas, so there is no additional memory used.

The rapid drop of frame rate that continues to fall seems to be a symptom of texture thrashing, but my understanding of texture trashing is that it's caused by running out of texture memory and continually swapping textures on the gpu to draw the image. But in my case I'm not adding additional textures to trigger the frame rate decrease...

I'm using the CANVAS renderer.

Anyone have ideas?

Cheers,

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...