https://github.com/sztorm/materialbinder
A code generation tool made for Unity Engine which simplifies material binding process and reduces errors associated with it.
https://github.com/sztorm/materialbinder
material shaders unity
Last synced: 2 months ago
JSON representation
A code generation tool made for Unity Engine which simplifies material binding process and reduces errors associated with it.
- Host: GitHub
- URL: https://github.com/sztorm/materialbinder
- Owner: Sztorm
- License: mit
- Created: 2021-08-30T23:56:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-05T18:45:38.000Z (almost 5 years ago)
- Last Synced: 2025-06-01T00:05:28.803Z (about 1 year ago)
- Topics: material, shaders, unity
- Language: C#
- Homepage:
- Size: 416 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# MaterialBinder
A code generation tool made for Unity Engine which simplifies material binding process and reduces
errors associated with it.
* [Documentation](Documentation/MaterialBinder.md)
* [Changelog](CHANGELOG.md)
* [Description](#description)
* [Requirements](#requirements)
* [Installation](#installation)
* [License](#license)
## Description
**MaterialBinder** is a scriptable object which takes references of shaders given by user to
generate material binding scripts that limit work needed to use the material with specified
shader in scripts. Generated material binding types are easy to use and saves user from typing
shader variable names, thus reducing possible errors.

See [documentation](Documentation/MaterialBinder.md) to learn how to use the **MaterialBinder**.
The package is UPM-ready and also provides other options of installation.
## Requirements
No special requirements are required. Package is tested and works in Unity 2019.4.28f1, however
**MaterialBinder** may work in newer as well as in older Unity versions.
## Installation
There are many options of installation of this tool including:
1. Install MaterialBinder using Unity Package Manager (recommended)
2. Download release unitypackage and import it to your project
3. Download source files and drop them into your project
**Option #1**
* Select **Window** -> **Windows** -> **Package Manager**

* Press **+** button and then select **Add package from git URL...** option.

* Paste ` https://github.com/Sztorm/MaterialBinder.git ` into text input and press **Add**

* That's it. The package is ready to use.

**Option #2**
* Download release unitypackage from the **Releases** section on GitHub (Select desired version).
* Click **Assets** folder using RMB and then select **Import Package** -> **Custom Package...**

**Option #3**
* Download source files .zip archive from GitHub.
* Unpack contents into folder of choice which is child of the **Assets** folder.
## License
**MaterialBinder** is licensed under the MIT license. **MaterialBinder** is free for
commercial and non-commercial use.
[More about license.](LICENSE.md)