Refactor paint materials to use category-based compatibility

This commit is contained in:
sudhir
2026-04-23 12:48:50 +05:30
parent 88b2f095f1
commit 2876f39876
8 changed files with 358 additions and 239 deletions
+4 -1
View File
@@ -40,11 +40,14 @@ export {
export { baseMaterial, glassMaterial } from './materials'
export {
getCatalogMaterialById,
getMaterialCategoryTargets,
getLibraryMaterialIdFromRef,
getMaterialPresetByRef,
getMaterialsForTarget,
getMaterialsForCategory,
LIBRARY_MATERIAL_REF_PREFIX,
MATERIAL_CATALOG,
MATERIAL_CATEGORIES,
type MaterialCategory,
type MaterialCatalogItem,
toLibraryMaterialRef,
} from './material-library'