Page 1 of 2
Setup Displacement?
Posted: Mon Oct 26, 2015 11:49 am
by Elele
Howdy,
So how do you setup the NGE for a material that uses a displacement map?
Every time i use the displacement node it changes the input image to a uniform grey color...
Thanks.
Re: Setup Displacement?
Posted: Mon Oct 26, 2015 2:24 pm
by bepeg4d
Hi,
I guess that you need a displacement node between the image and the material node:

ciao beppe
Re: Setup Displacement?
Posted: Mon Oct 26, 2015 8:22 pm
by Elele
Still doesn't work all the time, but close enough.
Another problem though, how do I keep the edges from displacing and just have the actual detail displacement. (or how do I set a zero value i guess)?
Re: Setup Displacement?
Posted: Tue Oct 27, 2015 6:31 am
by bepeg4d
Hi,
unfortunately, displacement on GPU is a bit limited and is not possible to use mixed node or procedural textures for fine tuning the effect. I guess that you need to blur the part of the image in photoshop or similar. Could you post a screenshot of what you have?
ciao beppe
Re: Setup Displacement?
Posted: Tue Oct 27, 2015 4:07 pm
by Elele
I fixed the image in photoshop.
It seems you need to plug the image directly in the displacement node, otherwise the displacement won't work either. Just setting a color correction node after an image removes the displacement.
Re: Setup Displacement?
Posted: Mon Nov 09, 2015 1:00 pm
by Elele
I came across another problem: when I plug both displacement and bump maps into the material, the different polygons of the mesh look different. The bump alone doesn't have it, and the displacement alone doesn't have it.
I attached 3 images: one with only bump, one with only displacement and one with both that show the problem. How do I fix that?
Re: Setup Displacement?
Posted: Mon Nov 09, 2015 3:16 pm
by bepeg4d
Hi,
please, look at my previous screenshot, the material with bump is attached in both first and second material pins of a mix material and the displacement is attached to the mix, give it a try

ciao beppe
Re: Setup Displacement?
Posted: Mon Nov 09, 2015 4:15 pm
by Elele
Yes , i tried that but it doesn't make any difference.
Re: Setup Displacement?
Posted: Mon Nov 09, 2015 4:44 pm
by Elele
Here is a screen cap, some of the polygons look flipped
Re: Setup Displacement?
Posted: Mon Nov 09, 2015 7:38 pm
by Sorel
Elele wrote:Here is a screen cap, some of the polygons look flipped
I've seen this sometimes on some items that have displacement. Make sure the level of detail is set accordingly in the drop down (it goes from 1042 up to 8096 or something like that). This usually fixes the problem for me, or sometimes I need to mess with the height and offset a bit.