유니티 - 간단한 투명 Material 만들기
깃허브 데스크탑으로 프로젝트 관리하기 강의 오픈!! (인프런 바로가기)
기본 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