Graphics, Programming, Unity, Tutorial, Technology.
turn off shadows, we can disable the shadow caster pass. There’s SetShaderPassEnabled to handle this. Finally, back in OnGUI, ensure a base.OnGUI call comes at the end of the method. This draws the default inspector, which includes all properties of your material without the HideInInspector