AI Material and Texture Generator for Unity using Stable Diffusion

Subscribers:
593
Published on ● Video Link: https://www.youtube.com/watch?v=GsEGIxdpNtQ



Duration: 16:45
165 views
4


This video outlines my Open Source Project "Unity AI Texture Generator using Stable Diffusion" with zero external dependencies after installation.

Available here on Github: https://github.com/universalbri/UnityAITextureGenerator

This allows the developer to select any 3D object in Unity and fill in a text prompt defining a texture desired, and using stable diffusion will generate a texture, material and apply that material to the selected object.

This editor utility modifies the behavior of any Unity Project to add a "Tools-Texture Generator" menu item which, when selected, brings up a menu which allows the developer to type in any text prompt defining a texture desired which, provided the developer has actually selected a game object or closed the generator window that pops up - when the developer presses the 'Generate' buttin, this editor plugin will automatically generate a texture and material, and then assign that material to the object selected.

To change the directory that houses the python code of will contain the generated materials and texture, the first four constants outlined below SHOULD be modifiedto point to your local installation and the Unity Destination for each.

The Install to Stable Diffusion/Automatic1111: https://github.com/AUTOMATIC1111/stable-diffusion-webui

The Texture Diffusion model referenced by this project: https://huggingface.co/dream-textures/texture-diffusion







Tags:
Unity
Stable Diffusion
Automatic1111
Texture
material