Coded Games
Member
So one of the biggest questions I have in my game is about how I should optimize my texture pages.
Each card in the game has a 600x600 px piece of artwork. As of now, I have just been throwing all of them into a texture group and calling it good enough. My texture page sizes are 4096x4096 so each page has like 30 cards.
Besides cards, all of the assets needed in the game fit on one 4096x4096 texture page but cards result in my game using something like 6 or 7 texture pages and significantly more if I use 2048x2048.
The question I have is would it be beneficial to have each card be a separate texture page? Because you never know what cards will be in the players deck, you can't really group cards together to make optimal texture pages. Separating them out would result in smaller texture pages instead of loading one that contains cards that are not even in the player's deck.
I think this could be beneficial but it would result in more texture swaps, which is something that you want to minimize.
It ultimately comes down to is more smaller texture swaps better than less big texture swaps? Does this even matter?
Each card in the game has a 600x600 px piece of artwork. As of now, I have just been throwing all of them into a texture group and calling it good enough. My texture page sizes are 4096x4096 so each page has like 30 cards.
Besides cards, all of the assets needed in the game fit on one 4096x4096 texture page but cards result in my game using something like 6 or 7 texture pages and significantly more if I use 2048x2048.
The question I have is would it be beneficial to have each card be a separate texture page? Because you never know what cards will be in the players deck, you can't really group cards together to make optimal texture pages. Separating them out would result in smaller texture pages instead of loading one that contains cards that are not even in the player's deck.
I think this could be beneficial but it would result in more texture swaps, which is something that you want to minimize.
It ultimately comes down to is more smaller texture swaps better than less big texture swaps? Does this even matter?