How the Check Works
The CheckNormalMaps
is designed to identify and report instances where textures assigned in normal map slots of materials have their TextureType set incorrectly. This check helps ensure that normal maps are properly configured for optimal rendering.
The check operates at the Material level:
- Material Level: When invoked on a
Material
, it iterates through the shader properties of the material. For each property flagged as anormal map
in the shader, it checks if the assigned texture has the correctTextureType
set toNormalMap
.
When to Use This Check
- Texture Configuration: Ensure that normal maps in your materials are correctly configured to maintain proper rendering.
- Material Consistency: Identify and address instances where normal map textures are assigned with incorrect TextureType values for consistency across materials.
How to fix errors like this
Make sure to only use normal maps that are also imported as such – unless you really know what you are doing! The most straightforward thing to do here would be to change the import settings of your normal map to the correct values, or use another image as normal map. Our system can automatically adjust the import settings for you.