Transparent 투명 쉐이더
Transparent 쉐이더 기본형 Shader "Custom/AlphaBlend" { Properties { _MainTex ( "Albedo (RGB)" , 2D) = "white" {} } SubShader { Tags { "RenderType" = "Opaque" "Queue" = "Transparent" } // 알파 적용 "Queue" = Transparent : 불투명 다음에 그림( 렌더링 순서 ) LOD 200 Cull off // 양면 렌더링 CGPROGRAM #pragma surface surf Lambert noambient alpha:fade // 알파모드 : alpha:fade sampler2D _MainTex; struct Input { float2 uv_MainTex; }; void surf (Input IN, inout SurfaceOutput o) { fixed4 c = tex2D (_MainTex, IN.uv_MainTex); o.Albedo = c.rgb; o.Alpha = c.a; } ENDCG } // 그림자 안보이게 변경 FallBack "Legacy shaders/Transparent/V...