Renormal Materials
A small number of shaders in game support recalculating vertex normals in the vertex shader. Recalculating normals can reduce shading artifacts for certain animations like Pikachu’s crawl.
The model.adjb file stores the adjacent faces for each vertex for certain meshes from the model.numshb. This allows the game to recalculate smooth vertex normals by calculating the normal from each adjacent face’s positions and averaging them together.
Meshes that have materials that recalculate normals but no entry in the model.adjb will have broken normals in game like in the screenshot above. SSBH Editor can automatically detect this and provides ways to easily create a missing model.adjb or add missing entries to an existing model.adjb.
Materials with shaders that recalculate normals typically have material labels that begin with the “RENORMAL_” prefix like “RENORMAL_skin_pikachu_001”. The material name itself does not control whether the renormals are recalculated or not. Only the following shaders support recalculating normals. Add an appropriate suffix like “_opaque” when using the shader in SSBH Editor.
SFX_PBS_0110000008008269
SFX_PBS_011000000800826b
SFX_PBS_0110400008008269
SFX_PBS_011040000800826b
SFX_PBS_0130000008008269
SFX_PBS_013000000800826b
SFX_PBS_0130400008008269
SFX_PBS_013040000800826b