Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jamesdimick/UnityMaterialInstancedPropertiesEditor
Generic editor for instanced properties in Unity materials.
https://github.com/jamesdimick/UnityMaterialInstancedPropertiesEditor
csharp editor instancing material properties shader unity unity3d
Last synced: about 2 months ago
JSON representation
Generic editor for instanced properties in Unity materials.
- Host: GitHub
- URL: https://github.com/jamesdimick/UnityMaterialInstancedPropertiesEditor
- Owner: jamesdimick
- License: mit
- Archived: true
- Created: 2018-12-19T04:43:40.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-21T00:46:50.000Z (about 6 years ago)
- Last Synced: 2024-08-03T19:09:23.697Z (5 months ago)
- Topics: csharp, editor, instancing, material, properties, shader, unity, unity3d
- Language: C#
- Size: 63.5 KB
- Stars: 21
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-unity-open-source-on-github - UnityMaterialInstancedPropertiesEditor - Generic editor for instanced properties in Unity materials. (Inspector)
README
# Unity Material Instanced Properties Editor
A generic editor for manipulating instanced properties of materials in Unity.![Screenshot of the editor in Unity](Screenshot.png?raw=true)
# Unity Version
It was created in Unity **2018.3.0** but it should work fine in older versions _(unsure how far back)_. Please submit a report if you find any issues.# Limitations
* There is currently no way to tell between an instanced material property and a non-instanced material property on the C# side in Unity. This means that **all** properties are always included in this component. You must keep track yourself which properties are instanced in your shaders and only change those specific properties via this component. Changing non-instanced properties via this component yields undefined behaviour and can even cause performance issues if Unity decides to create new material instances behind the scenes.* This component also displays normally-hidden properties. Use caution when modifying these properties.
* Some more advanced properties cannot be properly represented via this component due to limitations with accessing property info in the currently available Unity APIs.