View Single Post
# 17 04-02-2011 , 12:44 AM
ctbram's Avatar
Moderator
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,998
**UPDATE**


I continued playing with displacement to add the "lego" text on the top of all the pegs and forgot to post the results. I am still figuring out displacement. There is a significant difference in behavior between mental ray and maya materials.

I still do not have a handle on how to displace inward. All my attempts to do so resulted in my entire model being inflated. In the end I just went with a black and grey disp map image and controlled the positive displacement with the alpha gain.

My original plan was to inset part of the label. So I went with the image in the network below and set the alpha gain offset to -.5. The idea was to shift the 0-1 range to -.5 to .5, but I could not get it to work and have to continue experimenting to understand what is going on better. The shader network below has the image that was not working. In the end I just used a black and grey image and a alpha gain of .07 and alpha gain offset of 0.

user added image user added image

The resulting render with alpha gain set to 0.07.

user added image

Note that rendering with displacement significantly increases render time!


"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram; 04-02-2011 at 01:05 AM.