This file contains 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
// threshold for mask can be controlled using vertex color alpha (useful for spriteRenderers or particle systems) | |
// _MainTex: alpha of this texture is used as a mask | |
// _EmissionTex: usually rgb noise texture, adjust it's scaling if needed | |
// color remap and oscilation for each channel of emission can be modified in _EmStrobeBFALR, _EmStrobeBFALG, _EmStrobeBFALB | |
// Base: base amplitude of brightness oscilation | |
// Freq: frequency of oscilation | |
// Ampl: amplitude of oscilation | |
// L: how much _EmissionTex affects this color | |
Shader "StandardWMask" { |