【Unity-Shader】#03 テクスチャを半透明に表示する

前回張ったテクスチャを半透明に表示します。 ▼ 前回の記事 www.snoopopo.com 全文 Shader "Custom/Transparent" { Properties { _MainTex("Texture", 2D) = "white" {} } SubShader { //半透明が適応されるために必要 Tags { "Queue" = "Transparent" "RenderType" = "Transparent" } Blend SrcAlpha OneMinusSrcAlpha //…