MaterialExtensions
This class provides extension methods for switching material from opaque mode to transparent mode or vice versa. This could be useful for creating invisibility effects on characters.
Available methods
Next methods are not guaranteed to work well with all shaders and materials. Use them at your own risk.
This extension method tries to switch given material to opaque mode, if possible.
Example:
This extension method tries to switch given material to transparent mode, if possible.
Example:
Last updated