Skip to content

CustomShader

haw2fregel edited this page Mar 21, 2025 · 2 revisions
CustomShader
自作シェーダーを描画します
image

Custom Material

Custom Material
Shaderを選択します
image
操作例 DrawColor
Shader
Shaderを選択します
image
以降にはShaderプロパティが表示されます
※ShaderGraph・コードベースどちらも利用できます
ShaderGraphでは「Unlit」「FullScreen」を推奨しています
(Alphaの処理が異なります)
「_MainTex」に1つ前のレイヤー画像
「_MaskTex」にマスクレイヤー画像が渡されます
image
Filter_Posterize Layer

Clone this wiki locally