Added: 15 September, 2007
Group: Maya
Create a coffee cup in Maya
Author: TechTut.com
page: 4
Coffee cup model done in Maya part 4
Create ramp:
![Tutorial Coffee cup model done in Maya part 4 1](/img/phpThumb.php?src=36/31.jpg&w=450)
Connect it to transparency of layered shader:
![Tutorial Coffee cup model done in Maya part 4 2](/img/phpThumb.php?src=36/32.jpg&w=450)
Now if you render image you will see that specular of white blinn is above our gold material:
![Tutorial Coffee cup model done in Maya part 4 3](/img/phpThumb.php?src=36/33.jpg&w=450)
To fix this we can use stencil utility:
![Tutorial Coffee cup model done in Maya part 4 4](/img/phpThumb.php?src=36/34.jpg&w=450)
Connect outColor of White Blinn to image of Stencil:
![Tutorial Coffee cup model done in Maya part 4 5](/img/phpThumb.php?src=36/35.jpg&w=450)
Connect outColor R from ramp to mask of Stencil:
![Tutorial Coffee cup model done in Maya part 4 6](/img/phpThumb.php?src=36/36.jpg&w=450)
Connect stencil outColor to Color in layred shader of White blinn:
![Tutorial Coffee cup model done in Maya part 4 7](/img/phpThumb.php?src=36/37.jpg&w=450)
Now problem is fixed:
![Tutorial Coffee cup model done in Maya part 4 8](/img/phpThumb.php?src=36/38.jpg&w=450)
Now you can create Image based light with HDRI and render with Mental Ray:
![Tutorial Coffee cup model done in Maya part 4 9](/img/phpThumb.php?src=36/39.jpg&w=450)
Thats all for this coffee cup tutorial.
GO to: Page 1 : Coffee cup model done in Maya part 1
GO to: Page 2 : Coffee cup model done in Maya part 2
GO to: Page 3 : Coffee cup model done in Maya part 3
GO to: Page 4 : Coffee cup model done in Maya part 4
TechTut.com This tutorial is copyrighted. Partial duplication or full duplication is prohibited and illegal. Translation or usage of any kind without author�s permission is illegal.
![](/images/banner.jpg)