The merge shader

Started by jacquesd, September 22, 2011, 12:07:32 PM

Previous topic - Next topic

jacquesd

hi just a newbie question i am trying to mix 2 fractal terrains one soft (dune like) and a mountain one how can i control the mix with the merge shader? i mean i i want a lot of the first terrain and in some areas the other one, as soon as i add a powerfractal as mix controller weird things happened :) the displacement of the a shader is affected by the mix controller...
Qui ne connait la valeur des mots ne saurait connaitre celle des hommes

Dune

You're probably better off using a power fractal as a blender for these two terrains, where 'the other one' is inversely blended. You may also have to play with the smallest size, it may be far too small to get a nice distinction. Try 100/1000/100 for sizes for a starter.
Another way of mixing these is to use the displacement intersection feature of a surface shader, adding the dunes as a child of the surface shader. Try it's effect with the test color first.
You could also post your tgd. I'm sure there's someone willing to have a look. 

jacquesd

how can i use a powerfractal as blender?? didnt understand what you mean, here's my tgd (by the way it has no interest except my trials and errors)
Qui ne connait la valeur des mots ne saurait connaitre celle des hommes

Dune

See attached for a quick example (attach the surface layer to compute terrain and hit the blender seed to see what happens). But in your case it is just a matter of changing the power fractal that blended the ridges.

jacquesd

wow thanks for your answer, it works great :) just to see if i have understood : 1 make a terrain 2 plug it as child layer of a surface layer  3 blend it with a powerfractal (why blend as coverage and why in effects tab displacement intersection?) this gave me the first terrain blended only theres white in the blender powerfractal correct? repeat for an other terrain with an other surface layer blended with the same powerfractal of the first one BUT inverted to have the opposite blending correct as its the same blender everytime i change it the 2 terrains the blending is correct, i have also tried to use with success to use the same method for the surfaces of each terrains so plug the blender into the surface layer of the terrain 1 then plug the blender inverted in the second and get exact material separation with the 2 terrains, zillion thanks to you dune and sorry for my english :)
Qui ne connait la valeur des mots ne saurait connaitre celle des hommes

Hannes

Hi,
and now for something completely different ;D:
I hope you don't feel offended, but could you try to use some more punctuation marks? It's really hard to read your post, when you don't know where one sentence stops and the other one begins.
Anyway, welcome to this community.

jacquesd

sorry for the punctuation, but i was so excited...
apologies
the anonymous french frog
Qui ne connait la valeur des mots ne saurait connaitre celle des hommes