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을 사용해도 됨

 

다른 카테고리의 글 목록

'Shader > Surface' 카테고리의 다른 글

Blend 5 Bumped Textures  (0) 2014.07.30
Blend 4 Bumped Textures  (0) 2014.07.29
Blend 5 Textures  (0) 2014.07.29