inline fixed4 LightingUnlit (SurfaceOutput s, fixed3 lightDir, fixed3 viewDir, fixed atten) { fixed4 c; c.rgb = s.Albedo; c.a = s.Alpha; return c; }
귀찮으면 라이팅 커스텀 대신
surf()함수에서
Emission을 사용해도 됨

inline fixed4 LightingUnlit (SurfaceOutput s, fixed3 lightDir, fixed3 viewDir, fixed atten) { fixed4 c; c.rgb = s.Albedo; c.a = s.Alpha; return c; }
귀찮으면 라이팅 커스텀 대신
surf()함수에서
Emission을 사용해도 됨
Blend 5 Bumped Textures (0) | 2014.07.30 |
---|---|
Blend 4 Bumped Textures (0) | 2014.07.29 |
Blend 5 Textures (0) | 2014.07.29 |