Original Post
I've always used textures that are power of 2, but do I have to make them square (512x512) or can I do something like 512x256 or 512x128? Thanks!
Quote:
Original post by Programmer16
Yeah, I planned on sticking with power of 2 textures, I just didn't like the idea of a 3mb bitcrap because it had to be 1024x1024, when it could be shrunk to 1024x512. I converted it to a png anyway and now its <100kb. Thanks guys, I'll look into this stuff.
Quote:
Original post by Namethatnobodyelsetook
The file may be < 100K, but that means little. A PNG file is compressed on disk, but it's decompressed on load, and is uncompressed in video memory. A BMP, TGA, PNG, JPG, etc, all take the same video memory. The only way to reduce video memory usage is to load the texture into a smaller format, like D3DFMT_R5G6B5 16-bit, or using one of the a DXT compressed formats.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more