선형보간법 썸네일형 리스트형 쉐이더 조절로 이미지 흑백 만들기와 Lerp 함수의 기본 12345678910111213141516171819202122232425Shader "Custom/NewSurfaceShader" { Properties { _MainTex ("Albedo (RGB)", 2D) = "white" {} } SubShader { Tags { "RenderType"="Opaque" } CGPROGRAM #pragma surface surf Standard fullforwardshadows sampler2D _MainTex; struct Input { float2 uv_MainTex; }; void surf (Input IN, inout SurfaceOutputStandard o) { fixed4 c = tex2D (_MainTex, IN.uv_MainTex); o.Albed.. 더보기 이전 1 다음