floyo logobeta logo
Powered by
ThinkDiffusion
floyo logobeta logo
Powered by
ThinkDiffusion

Q GLB Material Modifier

1

Last updated
2025-05-30

A custom node for ComfyUI, the GLB Material Modifier enhances 3D models generated with Hunyuan 3D 2.0 by transforming their default appearance into more realistic materials. It incorporates features like smart emissive detection, normal map generation, and batch processing to improve the overall quality and visual fidelity of GLB files.

  • Enables the transformation of basic "plastic" models into realistic materials with advanced surface details.
  • Automatically detects and enhances emissive areas in textures for improved lighting effects.
  • Supports batch generation of multiple model variants, optimizing workflow efficiency.

Context

This tool serves as a custom node within ComfyUI specifically designed to enhance GLB 3D models created using Hunyuan 3D 2.0. Its primary purpose is to address the common issue of overly simplistic textures, providing users with the capability to create more visually appealing and complex materials.

Key Features & Benefits

The GLB Material Modifier boasts several practical features that significantly enhance the rendering of 3D models. Material enhancement transforms basic appearances into realistic surfaces, while smart emissive detection automatically identifies bright areas for glowing effects. Normal map generation creates detailed surface textures, adding depth and realism to the models.

Advanced Functionalities

This tool includes advanced batch processing capabilities, allowing users to generate up to four model variants simultaneously with different combinations of normal maps and emissive effects. Users can also utilize various algorithms for normal map creation, ensuring flexibility in achieving desired surface details.

Practical Benefits

By integrating this tool into their workflow, ComfyUI users can dramatically improve the quality and realism of their 3D models. The ability to batch process multiple variants saves time and enhances productivity, while the preservation of original colors in emissive areas ensures authentic lighting effects. Overall, this tool streamlines the enhancement process, allowing for greater control over material properties and visual outcomes.

Credits/Acknowledgments

The GLB Material Modifier was developed by contributors to the ComfyUI community and is available under the MIT License. It relies on several Python libraries, including pygltflib, OpenCV, Pillow, and NumPy, for its functionality.