Code Monkey home page Code Monkey logo

unity-cc0textures-importer's Introduction

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.

  1. Open the Package Manager in Window > Package Manager
  2. Click the add (+) button in the status bar
  3. Select Add package from git URL from the add menu
  4. 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.

unity-cc0textures-importer's People

Contributors

adamgraham avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

unity-cc0textures-importer's Issues

Pink Material

When I use this I get a pink material instead of a working one I am using the latest version of everything and using URP

Root Directory

I am getting a root directory error when attempting an import. It seems to happen at the zip stage, I was not able to find any documentation about how to resolve it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.