| Lava shader effect |
|
| Written by Dzordz | |||||||
| Friday, 04 August 2006 | |||||||
Page 4 of 5 Now you can preview bump in either viewport or render view. You can see, that bump alone is not enough so we are going to add some displacement. You can add some lights to see the bump little better.
Create MiltiplyDivide node and connect the “bump stucco” to Input1 of the MultiplyDivide Node. Input2 will control displacement height, so I entered 0.5 to make displacement lower, but you can change this number as you wish.
Now Create Luminance node (under Color utilites), and connect MultiplyDivide to it. Then connect Luminance node to material displacement attribute (agiain mmb from Luminance to material (lambert), then choose displacement).
* You couldn’t plug MultiplyDivide directly into displacement since displacement works only with alpha information (grayscale), so we are converting RGB of the MultplyDivide to Grayscale information using Luminance Node.
Now If You Graph Network on the material, you can see that Maya connected Luminance directly to the displacement shader attribute of the Shading Group. This is bad!
So delete that connection and create Displacement node (under Displacement), and connect luminance to it. Than connect that displacement node to the shading group.
|
|||||||
| < Prev |
|---|






