본문 바로가기

Tutorial or Tip/Maya

how to add bump map to car paint phen


Here's a simple method you can use to add a bump map to the mi_car_paint_phen_x material without using custom shaders or complicated shading networks.

커스텀 쉐이더 또는 복잡한 쉐이딩 네트워크 사용 없이 mi_car_paint_phen_x 메터리얼에 범프맵을 추가하는 간단한 방법...

 

 

 

You connect bump maps to the material but the renderer is doing some sneaky stuff at the shading group level and we can use that knowledge to add bump maps to materials like the mia_car_paint_phen_x, that have no bump slot.

메터리얼에 범프 맵을 연결하지만 렌더러는 쉐이딩 그룹 정도에서  약간 교활한 방법으로 진행을 하고, 우리는 범프이 없이 mia_car_paint_phen_x같은 메터리얼에 범프를 어드하는 방법을 알수있다. 

So we start with a material that does have a bump slot.

따라서  융범프슬럿이 없는 메터리얼에서 시작한다 

I'm using mia_material_x.

mia_material_x 을 사용한다!

 Assign it to your surface and set the diffuse color, diffuse weight and reflectivity to zero. If you render now you'll get a totally black surface.

원하는 서페이스에 디퓨즈컬러로 로 어사인을 한다..디퓨즈와 리플렉티비티는 0으로 셋팅,만얀 지금 렌더링한다면 완전히 새까만 서페이스를 얻게될것이다

Create a mi_car_paint_phen_x material and connect it to the mia_material_x additional color slot. Unfortunately you will need to resort to the connection editor to do this.

mi_car_paint_phen_x material 를 만들고 additional_color슬럿에 연결을 한다.. 유감스럽게도이걸 하기위해서 resort를 커넥션에디터를 필요하게될꺼다.

The exact connections are shown in the hypershade snapshot below.

정확한 연결항법은 아래에 스냅샷된 하이퍼쉐이드에 있다.
 
 


 

Connect a texture to the bump slot of the mia_material_x (you can drag and drop this one).

mia_material_x의 범프 슬럿에 텍스쳐를 커넥한다..

I'm using a fractal as you can see in the snapshot.

스냅샷에서처럼 분할을 하였다

Thats it.

When you render you'll notice that the specular highlights on the car paint (and the reflections) are perturbed by the bump as you would expect if the bump was connected directly to the car paint material.

렌더링할 경우 범프가 카 페인트 메터리얼에 직접 연결된지 당신이 예상하기 때문에 카페인트 (및 리플렉션)에 스페큘러 하이라이트가 범프에 의해 교란된다는 것을 주의할 것이다

 

 

 

 

_흔히들 작업할때 서페이스쉐이더에 다른 메터리얼을 넣어서 사용하곤하는데

범프를 사용할때나 트랜스퍼런스를 사용할때 서페이스쉐이더의 단점을 램버트에 넣고 할때랑 같은 원리라고생각하면된다..

 

램버트로 디퓨즈를 내리고 반대로 앰비언트를 올려서 서페이스랑 같은 값을 만들고 거기에 투명이나 범프를 사용할수있도록 하는...