Help please!

Started by René, July 02, 2019, 09:23:21 AM

Previous topic - Next topic

René

This is bugging me for a while now; I can't properly align color and displacement. What am I doing wrong and what can I do to fix it? The image here is for testing purposes but the same thing happens with rocks. Any help is apreciated.

bobbystahr

Does this work for you, I turned of the World switch in the Transform shader.
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

René

This way it aligns perfectly but it gets warped. This is the part I don't understand.  :o

bobbystahr

Quote from: René on July 02, 2019, 10:15:12 AM
This way it aligns perfectly but it gets warped. This is the part I don't understand.  :o

y got me there...no idea but someone will know...hang in there...they may be asleep at this time
something borrowed,
something Blue.
Ring out the Old.
Bring in the New
Bobby Stahr, Paracosmologist

Dune

Perhaps the terrain is warped before and it takes over that warp. If you say world postion it won't but disaligns. Perhaps a smallscale compute terrain or xyz shader before masking? Do displacement and color in same area of the line.

WAS

I have had a similar problem it's annoying to use world position if you have to do work with the shaders.

René

Quote from: Dune on July 02, 2019, 11:29:58 AM
Perhaps the terrain is warped before and it takes over that warp. If you say world postion it won't but disaligns. Perhaps a smallscale compute terrain or xyz shader before masking? Do displacement and color in same area of the line.
I'll try that. Thanks!

René

#7
Quote from: WASasquatch on July 02, 2019, 11:48:48 AM
I have had a similar problem it's annoying to use world position if you have to do work with the shaders.
I have experienced something similar with fake stones in world position; the colours and the stones will not match each other well.

René

#8
Quote from: Dune on July 02, 2019, 11:29:58 AM
Perhaps the terrain is warped before and it takes over that warp. If you say world postion it won't but disaligns. Perhaps a smallscale compute terrain or xyz shader before masking? Do displacement and color in same area of the line.
What puzzles me is that the colours and the displacement are controlled by the same image, but are still interpreted  differently.
Could it be a matter of colour continuity? Meaning that the colour remains in the same place but the displacement is moving in a different direction.

Dune

#9
It works with a small patch size and world position off. But indeed, the displacement could well move the skin out of the colored area, the colors 'staying at the basis of displacement'.

René

That's bad news. The reason I need it so much is that I want vegetation and stones in the crevices of the rocks. Thanks you for your feedback.

Dune

I've tested a PBR texture from the web in a default shader, through a transform shader to rotate 90/90/90, and that works alright. Using the AO invertedly fro crevices works too.

René

Does that PBR use a normal map? By "AO," you don't mean ambient occlusion, I suppose.

Dune

#13
I do. I don't use normal maps.

You can't really see it, but this is a near vertical wall from a softish (smallest size 1m) basic terrain. I used an old Rome wall to displace and gloss, etc, but left the color (albedo) out. Oh yes and added some lichen.

Dune

And after having added some fake stones.