Shameless link to the post on my dev blog, for those interested.
I've been doing a fair bit of optimization on the art end of things on one of my latest projects, and this has resulted in learning more about compression algorithms. I was scouring the Unity wiki and found a handy
chart containing the bytes-per-pixel ratio of each compression algorithm used in the Unity engine, along with instructions on how to calculate VRAM usage of a texture based on this BPP ratio.
Because I'm a lazy little ****, I threw together a nice GUI-based program that allows you to calculate the VRAM usage of these textures on the fly.
Screen 1 |
Screen 2Here's the
download, it's an executable JAR (because **** Java applets and their security problems that keep making the front page of Slashdot). If you're interested, here's the public domain
source code as well.