Displacement advanced material

Generic forum to discuss Octane Render, post ideas and suggest improvements.
Forum rules
Please add your OS and Hardware Configuration in your signature, it makes it easier for us to help you analyze problems. Example: Win 7 64 | Geforce GTX680 | i7 3770 | 16GB
Post Reply
spercic
Licensed Customer
Posts: 7
Joined: Tue Mar 11, 2014 4:33 pm

hi guys..I have a problem and I can't understand ..
I have a mix material with amount dirt:
- wooden base :MAT2
- above a white color mixed with texture :MAT 1
if I want to create a displacement only on white how can I do? (i used bump and it works)
I tried to use displacement on MAT 1: does not work
I don't want displacement on mix material but only on white material and for me it's natural to use the MAT 1 displacement channel :?: :?: :roll: :roll:
thank you and good evening
Attachments
MIX MAT.jpg
noldo
Licensed Customer
Posts: 89
Joined: Wed May 25, 2011 7:07 pm

It's not possible.
For mix material, the displacement map need to be connected to mix displacement node.
A workaround is a bake displacement of the two material mixed (wood with solid color), connected to mix displacement node.
spercic
Licensed Customer
Posts: 7
Joined: Tue Mar 11, 2014 4:33 pm

hi .. thank you very much ..
I tried without success..I try to make two solids that intersect in the 3d model
;) ;)
noldo
Licensed Customer
Posts: 89
Joined: Wed May 25, 2011 7:07 pm

spercic wrote:hi .. thank you very much ..
I tried without success..I try to make two solids that intersect in the 3d model
;) ;)
Hi,
Preview Render Target.png
The manhole cover is displaced, the ground not, only a normal map.
The trick is the mix displacement texture: a displacement of the manhole cover (remember to not tile the texture - clamp value) and a grayscale color for tuning the offset between the two material.
After this, a baking texture (grayscale, HDR) direct connected to the displacement node.
Mix the two material and voilà!

The sample scene used
test.zip
(94 MiB) Downloaded 184 times
spercic
Licensed Customer
Posts: 7
Joined: Tue Mar 11, 2014 4:33 pm

oh wow very kind..study your material and i try to understand.. :shock: :shock: :shock: very complex but wonderful ;) ;) ;)
thank you very much
Post Reply

Return to “General Discussion”