Website powered by

Shader Complexity Scanner & Texture Checking Tools

A simple tool to scan either the current scene or an entire projects material library.

A lot of projects have a wide range of people adding materials. This tool allows the user to keep track of all materials being used in their project. You can ensure that all materials are using the correct shaders, find any with oversized textures, track if they use transparency when they shouldn't and see the overall impact on performance by tracking passes and Memory (MB) usage.

In the first image it has an example of my UnityTools project and anything I have thrown in for testing purposes. The top two materials are for a comparison in another one of my portfolio pieces where I create a custom PBR shader which uses less memory and draw calls (when in a build).

For an added level of investigation I created the Texture Checker Tool. This scans the entire project finding all 2D files in the Assets folder (this can be changed in the code to be directed at a certain folder very easily). Each texture in the list can be clicked to take the user to the file, it shows how the file has been setup, if it's for 2D (UI or VFX) or 3D. In a simple list format users can also check file dimensions, Max Size set in Unity, file format, MipMaps setup, and if the file is Non-Power of Two (NPoT). This can be great when checking that 3D asset textures are set to certain sizes or if any UI or VFX sprite is fit for purpose.

Shader Complexity

Shader Complexity

Texture Checker

Texture Checker