본문 바로가기
개발/Unity

유니티 - 간단한 투명 Material 만들기

by 피로물든딸기 2022. 5. 14.
반응형

Unity 전체 링크

 

기본 Material을 생성해서 Albedo의 Alpha 값을 변경해도 오브젝트는 투명해지지 않는다.

 

오브젝트의 alpha값을 수정할 수 있도록 바꿔보자.


먼저 Material을 생성한다.

 

Material의 Shader에서 Transparent를 검색하면 (UI/Unlit/Transparent)가 나오므로, 변경한다.

 

Shader가 변경되면 아래와 같은 옵션을 변경할 수 있다. Tint를 선택한다.

 

원하는 색과 Alpha 값을 설정한다.

 

만들어진 오브젝트를 큐브에 Drag and Drop으로 추가하면 아래와 같이 투명해지는 것을 볼 수 있다.

 

Unity Plus:

 

Easy 2D, 3D, VR, & AR software for cross-platform development of games and mobile apps. - Unity Store

Have a 2D, 3D, VR, or AR project that needs cross-platform functionality? We can help. Take a look at the easy-to-use Unity Plus real-time dev platform!

store.unity.com

 

Unity Pro:

 

Unity Pro

The complete solutions for professionals to create and operate.

unity.com

 

Unity 프리미엄 학습:

 

Unity Learn

Advance your Unity skills with live sessions and over 750 hours of on-demand learning content designed for creators at every skill level.

unity.com

반응형

댓글