Thread: Texture Sizes
View Single Post
Old 29th October 2009, 06:54 PM   #5
lisa
Senior Member
Professional user
 
lisa's Avatar
 
Join Date: Mar 2005
Location: Phoenix, AZ
Posts: 917
Default Re: Texture Sizes

A good rule of thumb is to look at how many pixels the object will take up in screen space.

e.g. Say you had a truck. The camera for your game is position so that the truck usually takes up about a quarter of the screen during game play. If your players are running their display at 1920×1080, then the texture for the truck needs to be a 512x512 map.

1920 x .25 = 480. Rounding up to the next power-of-two becomes 512.

The object is to get as close to 1 pixel of texture = 1 pixel of screen space without going over.

The smaller you can make your textures and get away with it, the better. Texture swaps can kill your frame rate even faster than polygon count in a lot of cases.
lisa is offline   Reply With Quote