ゲーム作るためのこと学ぶdevろぐ(’ー’)/チャラン
id:snoopopo
【Unity-Shader】#04 部分的に透明なテクスチャを表示する
前回までは不透明なテクスチャを使っていたので、今回からは部分的に透明なテクスチャを表示します。 ▼ 前回の記事 www.snoopopo.com 全文 Shader "Custom/Transparent" { Properties { _MainTex("Texture", 2D) = "white" {} } SubShader { Tags { "Queue" = "AlphaTest" "RenderType" = "AlphaTest" } Pass { CGPROGRAM …