Page 1 of 1

Displacement for one layer only...

Posted: Fri Feb 19, 2010 9:45 pm
by JTB
I don't use displacement much...so it is the first time I realize that there is a problem with multi-layered materials...

I want to make a combination of grass and ground.. So I use a weightmap, for the ground and the inverted for the grass... I don't want to use a map for the grass... Just a displacement map to make it look real...
The problem is that the same displacement map goes for the ground too...

So, is it because there can be only one displacement map in a material? If so, what do you do for materials like this?
Any advice or workaround ???

Thanks in advance for any info.

Re: Displacement for one layer only...

Posted: Sat Feb 20, 2010 1:08 am
by tom
Yes, you should use two geometry apart.

Re: Displacement for one layer only...

Posted: Sat Feb 20, 2010 1:36 am
by Bubbaloo
Or make a custom displacement map.

Re: Displacement for one layer only...

Posted: Sat Feb 20, 2010 10:16 am
by JTB
Both are nice workarounds... Thanks

Re: Displacement for one layer only...

Posted: Sun Feb 21, 2010 1:00 am
by zdeno
If you set offset to 0 (zero) then black pixels of Your texture would be treated as NO DISPLACEMENT

so it all depends how Your texture is build is it more B&W or plenty of greys.

but allways You can use RGB/CLAMP min/max in texture properities to set "flat floor"

e.g. clamp texture to 64-255 and use offset to .25 then it shoul left "ground' untached.

or I misunderstood something