Skip to content

Fade some properties of a material in and out using easing functions

License

Notifications You must be signed in to change notification settings

Roland09/MaterialFader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MaterialFader

Fade specific properties of a material in and out using easing functions.

Example Setup:

setup

In my case I was toying around with the new Malbers Realistic Wolf. The eyes use the Standard material, property _EmissionColor as color. The fur is a special shader with a property _EmissionPower as float.

Looks like this then:

magic wolf

Note: Unity also has a working material lerp mechanism:

https://docs.unity3d.com/ScriptReference/Material.Lerp.html

About

Fade some properties of a material in and out using easing functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages