Skin Sizes

A quick tip for making an new model for quake. Make sure that the skin dimensions are powers of 2. All graphics cards prefer or need textures in power-of-2 dimensions. The original glquake faced this problem, but has to work with a set of models which did not follow this rule at all. What glquake does is stretches textures up to the next largest power-of-2 size. This makes those skins blurred and isn’t a good use of texture memory. Fitzquake avoids the blurriness by padding oddly sized textures up to the next power-of-2 instead, but the texture memory is still being consumed. Avoid the whole mess by just designing your model correctly from the start – only use power-of-2 sizes.

Advertisements

One thought on “Skin Sizes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s