Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lukakldiashvili/Unified-Renderer-Unity
Set material properties right from component for Unity.
https://github.com/lukakldiashvili/Unified-Renderer-Unity
material materialpropertyblock tool unified unity unity3d upm
Last synced: 3 months ago
JSON representation
Set material properties right from component for Unity.
- Host: GitHub
- URL: https://github.com/lukakldiashvili/Unified-Renderer-Unity
- Owner: lukakldiashvili
- License: mit
- Created: 2021-05-23T14:44:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T22:33:17.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T05:13:15.414Z (6 months ago)
- Topics: material, materialpropertyblock, tool, unified, unity, unity3d, upm
- Language: C#
- Homepage:
- Size: 627 KB
- Stars: 40
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![UnifiedRenderer - Banner SVG](https://user-images.githubusercontent.com/42884387/115162333-fda57000-a0b3-11eb-9bf0-f4876e7bba8b.png)
Stop creating new materials just to change color of the objects, modify them right from the component!
## Unified Renderer
Unified Renderer is simple plugin for Unity, that allows to assign material properties right from object (instead of material).
Unified Renderer is based on Unity's 'MaterialPropertyBlock' class, that allows to pass different data to each Renderer/object.
## How to install
Simply add the following git url in package manager (please read further notes):
```https://github.com/lukakldiashvili/Unified-Renderer-Unity.git```For production, please find specific version in releases tab, and install latest package with url from there.
## Features
- SRP independent, works with all render pipelines.
- Set/Get property values per renderer
- Per-material or per-renderer (global for renderer) properties## Examples
![unified-renderer-demo](https://user-images.githubusercontent.com/42884387/119264266-763ba700-bbf3-11eb-8f1a-5fe32bd40a6b.gif)
#### Note: each ball has the same default material assigned. this demo is included in the project.## Installation and Usage
- Install Unified Renderer as upm package (how to: https://docs.unity3d.com/Manual/upm-git.html)
or install manually by putting repository into the project
- You can find settings inside project settings, under 'Unified Renderer' tab
- Add Unified Renderer component to object with supported renderer attached
- Add property you want to modify from the component
- Edit/View values from the inspector of from the scripts