Skip to content

SPontadit/ShaderController

Repository files navigation

Shader Controller for Unity

The Shader Controller allows you to quickly and easily change or animate any properties of a shader without additional coding.

It generates Monobehaviour Components based on shaders. Controllers are split into 2 categories: Post Process and Shader.


Get the package

Create a controller

  • Select a shader asset into your Project Window
  • Right click on it
  • Create > Shader Controller > Post Process or Shader Controller

Use a controller

  • Add a controller to a GameObject* like any other component
  • Animate or change properties directly on inspector without anything more to do
  • By default, material used is not saved!
  • To use an existing material or save the current, check "Save and Use Material" toggle
  • To return to default mode, uncheck "Save and Use Material" toggle

If you changed shader property, just clicked to "Update Controller Button" on the component and the controller will be updated without any losses.

It is recommended to not modify generated controller scripts since all the changes made to a script will be overwritten if you update it.

* Post Process controllers must be added to a GameObject that has a Camera component.
Shader controllers must be added to a GameObject that has a Renderer component.

About

Shader Controller package for Unity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages