UV 썸네일형 리스트형 버텍스 컬러 마스킹으로 활용하기 123456789101112131415161718192021222324252627282930313233343536Shader "Custom/vertexcolor" { Properties { _MainTex("Albedo (RGB)", 2D) = "white" {} _MainTex2("Albedo (RGB)", 2D) = "white" {} _MainTex3("Albedo (RGB)", 2D) = "white" {} _MainTex4("Albedo (RGB)", 2D) = "white" {} } SubShader { Tags { "RenderType"="Opaque" } CGPROGRAM #pragma surface surf Standard nomabient sampler2D _MainTex; sample.. 더보기 UV 숫자로 변화시키기 12345678910111213141516171819202122232425Shader "Custom/FirstSurfaceShader" { Properties{ _MainTex("Albedo (RGB)", 2D) = "white" {} } SubShader { Tags { "RenderType"="Opaque" } LOD 200 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); .. 더보기 이전 1 다음