높이 매핑(패럴랙스 매핑이라고도 함)은 노멀 매핑과 개념이 유사하지만 이 기법은 더 복잡하여 더 많은 성능 저하로 이어집니다. 높이 맵은 일반적으로 노멀 맵과 함께 사용되고 종종 텍스처 맵이 큰 범프와 돌출부를 렌더링하는 표면의 윤곽을 더 선명하게 하는 데 사용합니다.
노멀 매핑은 전체 텍스처 표면의 조명을 수정하는 한편, 패럴랙스 높이 매핑은 한 단계 더 나아가 가시적인 표면 텍스처 영역을 실제로 이리저리 이동하여 일종의 표면 레벨 오클루전 효과를 실현합니다. 따라서 보이는 범프의 가까운 쪽(카메라를 향하는 쪽)은 확대 및 강조되고 먼 쪽(카메라 반대 방향을 향하는 쪽)은 축소되고 뷰에서 가려진 것처럼 보입니다.
이 효과는 3차원 지오메트리를 매우 실감나게 표현할 수 있지만 여전히 오브젝트 메시의 평평한 폴리곤 표면으로 제한됩니다. 따라서 표면 범프가 돌출되고 서로 가리는 것처럼 보이지만 모델의 “실루엣”은 수정되지 않습니다. 궁극적으로 효과가 모델의 표면에 그려지고 실제 지오메트리를 수정하지 않기 때문입니다.
하이트맵은 흰색 영역이 텍스처의 높은 영역을 나타내고 검정색은 낮은 영역을 나타내는 그레이스케일 이미지여야 합니다. 다음은 일반적인 알베도 맵과 이 맵과 짝을 이루는 하이트맵입니다.
위 이미지에서 왼쪽부터 오른쪽 순: 1. 알베도가 할당되었지만 노멀 맵 또는 하이트맵이 없는 돌이 많은 벽 머티리얼 2. 노멀이 할당되고 조명이 표면에서 수정되었지만 돌이 서로 가리지 않음 3. 노멀 맵과 하이트맵이 할당된 최종 효과. 돌이 표면에서 돌출된 것처럼 보이고 더 가까운 돌이 뒤에 있는 돌을 가리는 것처럼 보임
하이트맵에 사용되는 그레이스케일 이미지는 오클루전 맵에 사용해도 유용한 경우가 많습니다. 오클루전 맵에 대한 내용은 다음 섹션을 참조하십시오.
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.