Created
December 3, 2015 22:29
-
-
Save unitycoder/9646b165f4414e2c9cc7 to your computer and use it in GitHub Desktop.
Shader with Toggle (bool)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[MaterialToggle(_INVERT_OFF)] _Invert ("Invert", Float) = 0 | |
.. | |
#pragma multi_compile _INVERT_ON _INVERT_OFF | |
.. | |
#if _INVERT_ON | |
.. | |
#else | |
.. | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment