Author Topic: Surface Layer Color problem with Unwanted Displacement  (Read 152 times)

Offline treddie

  • Member
  • *
  • Posts: 142
Surface Layer Color problem with Unwanted Displacement
« on: September 06, 2017, 07:38:59 PM »
Hi again.

I am tearing my hair out on this one.

I have been working on this project, adding new surface layers, objects, etc.  Then, when I added a 14th Surface Layer, this problem cropped up.
I have been adding more and more SL's, some with displacement and no problems have come up, until this 14th layer.  This layer is different in that I am projecting a noise pattern as a color mask, roughly perpendicular to the cliff faces.  The texture is altitude limited to just the cliffs.  But when I apply the color, I get strange displacement "spikes" as shown in the attached image, even though displacement is zero.  I want projected color through the mask, nothing else.

I had read a few threads that talked about surface layers interacting with compute normal, so I tried a test by putting this layer before the compute normal, and that almost worked except that what got projected was very strange...like bright red and yellow colors even though the image was grayscale.

Please see attached image with explanations and settings.

76025-0

Offline cyphyr

  • Member
  • *
  • Posts: 3528
    • richardfraser
Re: Surface Layer Color problem with Unwanted Displacement
« Reply #1 on: September 06, 2017, 08:34:11 PM »
Hi Treddi
I'm not sure if this will help but ...
I don't see the need for the distribution map shader is since it is only repeating the settings of the surface layer.

Try removing it.
www.richardfraser.co.uk
/|\

i7 5930 @3.5Ghz, 32Gb
i7 2600k @3.4Ghz, 16Gb
i7 980 @3.33Ghz, 16Gb

Offline treddie

  • Member
  • *
  • Posts: 142
Re: Surface Layer Color problem with Unwanted Displacement
« Reply #2 on: September 06, 2017, 09:57:29 PM »
And didn't even see that!  Thanks for pointing that out.

I removed it because like you said, it's redundant.  But the problem still remained until I tried Surface Layer > Effects Tab > Intersect Underlying, and set those sliders really really low.  Not sure why that works, but the test I am in the middle of doing looks like the problem is gone, when I do that.

Offline treddie

  • Member
  • *
  • Posts: 142
Re: Surface Layer Color problem with Unwanted Displacement
« Reply #3 on: September 06, 2017, 10:57:13 PM »
Well, it KIND of worked.  It painted the masked color onto the cliff, but the color did not obey shadow areas.  It was like I just went into photoshop and painted opaque 1-color splotches over the cliffs.  The color was also not what I dialed in at the Surface Layer.
« Last Edit: September 06, 2017, 10:59:49 PM by treddie »

Offline Dune

  • Member
  • *
  • Posts: 12552
  • Corkscrew Bird
    • www.ulco-art.nl
Re: Surface Layer Color problem with Unwanted Displacement
« Reply #4 on: September 07, 2017, 06:35:00 AM »
Intersect underlying is taking the terrain before any compute terrain and smoothes it (if smoothing is checked). That may result in weird spikes if not used carefully. I suggest not using that setting or at least turn off smoothing. 
In case you still haven't seen enough of my work: www.ulco-art.nl