Shader楽しい 今日はvertexshaderartというサイトを見つけた。 なかなか面白い。 https://www.vertexshaderart.com/ 法線方向に膨らませるShader Shader "Custom/Test1" { Properties { _Scale ("hoge",Range(0,0.1)) = 0.01 } SubShader { Pass { CGPROGRAM #pragma vertex vert #pragma fragment frag #include "UnityCG.cginc" uniform float _Scale; struct v2f { half3 worldNormal : NORMAL; float4 pos :SV_POSITION; }; v2f vert(float4 pos : POSITION , float