Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => [Max] Resolved Bugs => Topic started by: erick3d on 2015-05-17, 19:01:00

Title: Blend Materials with displace
Post by: erick3d on 2015-05-17, 19:01:00
Hi,
i will try to be clear.
Using a blend material with on Top a metallic shader and bottom a simple corona mat with displacement.
displace  doens't work
IF i put this simple mat on mesh, displacement works well..
to make it works i need to put displacement on first layer..maybe it's normal, but that's not supoosed to be this map to have displace, anyway results it's same.

Bugs or i missed something (sorry in this case)?

Erick
Title: Re: Blend Materials with displace
Post by: Ondra on 2015-05-17, 23:14:15
This is by design - you cannot really blend displacements anyway since 1 surface cannot have 2 heights
Title: Re: Blend Materials with displace
Post by: Rimas on 2015-05-18, 10:31:42
So ho would you go about creating something like this? (I made it in Mental Ray ages ago)

(http://fc08.deviantart.net/fs70/f/2011/325/f/5/procedural_dirt_and_rust_by_xquatrox-d4gqic4.png)

EDIT:
Yeah, it works. Should have probably tested first before asking :)

(http://orig15.deviantart.net/47c9/f/2015/138/8/a/coronarust_by_xquatrox-d8tt8b4.png)
Title: Re: Blend Materials with displace
Post by: Ludvik Koutny on 2015-05-18, 10:44:20
I think what's needed here is simply mixing of displacement map values based on blend material mask. So result of the mesh displacement would be identical to plugging displacement map of bottom layer into one slot of mix map, plugging displacement map of top layer to another slot, and plugging blend amount map into mix amount map of this mix map.