Awesome
CC0 Textures Importer
The CC0 Textures Importer package provides a Unity editor integration for importing textures and materials directly from ambientcg.com by utilizing their public API.
Installation
Use the Unity Package Manager to install the CC0 Textures Importer package.
- Open the Package Manager in
Window > Package Manager
- Click the add (
+
) button in the status bar - Select
Add package from git URL
from the add menu - Enter the following Git URL in the text box and click Add:
https://github.com/zigurous/unity-cc0textures-importer.git
Instructions
Once the package is installed, access the import menu from Tools > CC0 Textures Importer
.
Find the asset id of the desired texture pack on the CC0 Textures website. Once you select an asset on the website, you can find the id in the url. For example, the asset url https://ambientcg.com/view?id=Wood051
has the id Wood051.
Enter the Asset ID
into the text field in the Unity editor. Select your desired Resolution
and image Format
(be careful of large file sizes). Provide an optional Output Name
if you want to rename the texture files from their original names. Provide an optional Output Path
relative to the root project folder.
Click the Import Textures
button then celebrate!
Alternatively, click the Import Material
button if you want the textures to be automatically mapped to a new material asset. You can provide a material prefab that will be cloned when importing the new material, otherwise Unity's default standard shader material will be used.
Note: Textures will automatically be renamed to match the naming conventions of Unity texture maps. For example, _Color is converted to _Albedo which matches the name of the texture in the standard material editor.
Asset Licensing
All assets by ambientCG are provided under the Creative Commons CC0 1.0 Universal License. Read the license details for more information.