빌트인 렌더 파이프라인에서 사용할 쿠키를 생성하는 가장 간편한 방법은 그레이스케일 텍스처를 만들고 해당 텍스처를 Unity로 임포트한 후 Unity가 텍스처의 밝기를 알파로 변환하도록 만드는 것입니다.
빌트인 렌더 파이프라인에서 쿠키는 알파 채널의 데이터만 사용합니다. 즉 쿠키의 모양은 정의할 수 있지만, 컬러는 정의할 수 없습니다.
이 작업을 수행하는 방법은 다음과 같습니다.
쿠키의 픽셀은 완전히 투명하거나 불투명할 필요는 없으며, 그 사이의 모든 값을 통합할 수 있습니다. 중간 값을 사용하면 광원의 경로에 있는 먼지를 시뮬레이션하거나, 자동차 헤드라이트의 돌출 부분에 의해 생성되는 커스틱 효과를 시뮬레이션할 수 있습니다.
빌트인 렌더 파이프라인에서의 쿠키에 대한 임포트 설정에 대한 자세한 내용은 텍스처 타입:쿠키를 참조하십시오.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.