{"id":19378670,"url":"https://github.com/aniketrajnish/text-to-material-unity","last_synced_at":"2025-04-23T19:32:20.207Z","repository":{"id":214819941,"uuid":"736369748","full_name":"aniketrajnish/Text-To-Material-Unity","owner":"aniketrajnish","description":"Generate materials from text prompts in Unity","archived":false,"fork":false,"pushed_at":"2024-03-06T07:06:49.000Z","size":2145,"stargazers_count":69,"open_issues_count":2,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-05-21T06:50:40.022Z","etag":null,"topics":["chatgpt","chatgpt-api","dall-e","dalle","dalle-2","dalle-3","dalle-api","generative-ai","generative-art","gpt-3","gpt-4","openai","openai-api","unity","unity-tool","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aniketrajnish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-12-27T17:56:28.000Z","updated_at":"2024-05-02T20:40:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"d92b445b-d0db-4e9b-bd60-1058978dc483","html_url":"https://github.com/aniketrajnish/Text-To-Material-Unity","commit_stats":null,"previous_names":["aniketrajnish/text-to-material-unity"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniketrajnish%2FText-To-Material-Unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniketrajnish%2FText-To-Material-Unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniketrajnish%2FText-To-Material-Unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aniketrajnish%2FText-To-Material-Unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aniketrajnish","download_url":"https://codeload.github.com/aniketrajnish/Text-To-Material-Unity/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223932121,"owners_count":17227277,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatgpt","chatgpt-api","dall-e","dalle","dalle-2","dalle-3","dalle-api","generative-ai","generative-art","gpt-3","gpt-4","openai","openai-api","unity","unity-tool","unity3d"],"created_at":"2024-11-10T09:06:41.317Z","updated_at":"2024-11-10T09:06:41.853Z","avatar_url":"https://github.com/aniketrajnish.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Text-To-Material-Unity\nGenerate materials from text prompts in Unity. Uses `chatgpt` and `dall-e` models.\n\n ![placeholder_t2m](https://github.com/aniketrajnish/Text-To-Material-Unity/assets/58925008/865d1290-4e04-4f8d-b56a-112dc7bc50bf)\n\nhttps://github.com/aniketrajnish/Text-To-Material-Unity/assets/58925008/59d84850-b002-425e-aeda-0a1c67a77153\n\n## Updates \n* Support for URP and HDRP available now, download from the [Releases Section](https://github.com/aniketrajnish/Text-To-Material-Unity/releases/tag/v001).\n* For URP, import `Editor Coroutines` into the project from the Package Manager, if it's not available by default.\n\n## Usage\n* Download the `.unitypackage` from the [Releases Section](https://github.com/aniketrajnish/Text-To-Material-Unity/releases/tag/v001).\n* Create/Login to your OpenAI account and get your API key from [here](https://platform.openai.com/api-keys).\n* Import the package in your Unity Project.\n* Go to `Project Settings -\u003e T2M -\u003e paste your API key`\n* Right click in the Project Window, click on `Create - \u003e T2M` to open the Text-To-Material window.\n* Enter the prompt describing the type of material and texture of the material you want to create.\n* Choose the model to use, the image size, and the quality (only for `dall-e-3`) for textures.\n* Click on Generate. The textures and materials are generated and saved in the `Assets/T2M Materials` folder.\n\n## Note\n* `gpt-4` and `dall-e-3` might not be available for all the users.\n* The resposne generated by AI can sometimes not be in the proper format that we expect it to be for parsing. In such cases, just click on generate again. It works \u003e90% of the time.\n\n## Contributing\nContributions to the project are welcome. Currently working on:\n* ~~Support for URP \u0026 HDRP materials.~~ [Done!]\n* Support more texture maps. (Metallic map, Smoothness map, Roughness map etc.)\n* Support for materials based on different shaders.\n* ~~Better prompts for texture generation, to ensure seamless textures.~~ [Done!]\n* Support for materials based on custom shaders (ig ambitious).\n  \n## License\nMIT License\n\n## Acknowledgement\nThankful to Keijiro Takahashi for his [AI Command Project](https://github.com/keijiro/AICommand).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faniketrajnish%2Ftext-to-material-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faniketrajnish%2Ftext-to-material-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faniketrajnish%2Ftext-to-material-unity/lists"}