Graphics, Programming, Unity, Tutorial, Technology.
attribute. All that’s left to do is register this inspector class to our shader. In the .shader file, use the CustomEditor command inside the Shader block. Check it out in the scene! You can now easily switch between opaque and transparent modes. Verify that everything looks good in the frame