simple shape merge

Started by Balletdude, February 20, 2022, 11:59:25 AM

Previous topic - Next topic

Balletdude

Not been here for a while, as I've been busy doing photoshoots for a national poster campaign
Back to playing with blender. I'm trying to merge 2 simple shape shades. a log straight rectangle to form a canyon shape, and a circle. it will end up with the canyon opening into a wide open space.

I've tried using the merge shader, but no matter the settings you can see the point they overlap and a step is created. I've set edge profiles to 0 on both and still the step is there. they don't seem to be merging into one solid shape if that makes sense
I've attached an image and the file (the file isn't really that important as I just want to get the shape sorted before I use it anywhere.
If you use the view button on the merge node, you can see the outline of the shaders where they cross

best
Simon

WAS

It doesn't work if you have an edge profile, but if you have hard edges, just use your A input as the mixer.

It theoretically should work fine with edge profile, but something is wrong with the falloff of both smooth-step, and bevel. It has a hard drop-off and doesn't actually transition to 0 (black) properly. So it doesn't have a perfect transition to be inverted or used as a mask against another smooth zone. You'd probably get better results creating your own smooth circle or squares out of functions like I have needed to do when I need perfect transition to 0.

Balletdude

Thank you. it was using it as the mix factor that i was missing. All working perfectly now

Simon

Dune

I would have simply stacked them, preferring to do all from greyscale first before displacing.

Balletdude

seems to have worked out fine.

I did try stacking them, but kept getting a step between them/where they crossed, maybe due to the edge profile?. In the example file I uploaded I'd removed it, just to see if I could get it working

Thank you both