Skip to main content

MaterialOrganizer

8 tools in this family (folder Editor/Tools/MaterialOrganizer/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
materials_apply_folder_reorgwritesExecute a folder reorg plan from materials_suggest_folder_reorg. Uses AssetDatabase.MoveAsset
materials_cluster_projectread-onlyCluster every Material in the project (or a folder subset) by shader + texture pattern +
materials_export_palette_swatch_pngwritesRender a Material's dominant palette as a horizontal swatch strip PNG and save it to disk for
materials_extract_paletteread-onlyExtract the dominant N-color palette of one Material. Samples the bound _BaseMap / _MainTex via
materials_find_near_duplicatesread-onlyFind Materials that look like duplicates of each other under different names. Returns a list of
materials_rename_to_conventionwritesRename Materials to the M_<Theme>_<Variant> convention. Variant is derived from the original
materials_suggest_folder_reorgread-onlySuggest an Assets/Materials/<Theme>/ reorganization based on cluster analysis. Materials in the
materials_unify_palettewritesQuantize a set of materials' Color properties (_BaseColor, _Color, _EmissionColor, _SpecColor)