import { listThreeCompatPbrMaterials } from "./PBRMaterialLibrary.js";
export function createThreeCompatMaterialPreviewTile(material) {
    const previewGeometry = material.parameters.alphaMode === "mask" ? "foliage-card" :
        material.parameters.transmission ? "thin-glass" :
            material.parameters.sheen ? "fabric-card" :
                material.parameters.clearcoat ? "beveled-cube" :
                    "sphere";
    return {
        materialId: material.id,
        label: material.label,
        class: material.class,
        previewGeometry,
        environmentId: material.parameters.transmission ? "studio-small-08" : material.parameters.clearcoat ? "industrial-sunset-puresky" : "showroom-softboxes",
        requiredChannels: material.proofChannels
    };
}
export function createThreeCompatMaterialPreviewScene() {
    return listThreeCompatPbrMaterials().map(createThreeCompatMaterialPreviewTile);
}
//# sourceMappingURL=MaterialPreviewScene.js.map