Skip to content

SPontadit/ShaderController_Dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shader Controller for Unity

This is the development repository of the Shader Controller package available for Unity.

It contains samples and all the code source used to develop the package.


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

Unity tool to create shader controller to animate effet's properties

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published