Planetside Software Forums

General => Terragen Discussion => Topic started by: arlechinu on May 13, 2013, 03:09:46 AM

Title: How to generate terrain inside a simple shape shader only?
Post by: arlechinu on May 13, 2013, 03:09:46 AM
Hi,

I'm trying to create some hexagonal map tiles with terrain but I just can't find a way to generate terrain inside a shape only. I don't mean masking the generated terrain, I managed to do that, but if I mask the terrain in an area with very high terrain it comes out as a very high column with the terrain on top of it and very high and straight sides, just like slicing the terrain down to the planet surface.

What I need to do is being able to define a shape - one or more simple shape shaders or perhaps a mask that I can draw in Photoshop - and only generate the terrain inside of it, with the edges of the generated terrain blending with the planet surface.

I'm hoping someone more proficient that I can help me out in the right direction, I'd really appreciate it!

Thanks!
Title: Re: How to generate terrain inside a simple shape shader only?
Post by: Dune on May 13, 2013, 03:26:12 AM
Maybe you can work out something with this....
Title: Re: How to generate terrain inside a simple shape shader only?
Post by: arlechinu on May 13, 2013, 04:15:10 AM
Thanks for that! It's definitely in the right direction but I can't get my generated terrain edges to blend with the planet surface as well as in your scene. As soon as I try to increase the height range the edges of the shapes are 'sliced'. How can I fix that? What am I doing wrong?
Title: Re: How to generate terrain inside a simple shape shader only?
Post by: Dune on May 13, 2013, 04:26:23 AM
You'd have to soften the edges of the simple shape (edge profile).