Planetside Software Forums

General => Terragen Discussion => Topic started by: Kevin Kipper on May 06, 2011, 02:15:28 PM

Title: Crop terrain?
Post by: Kevin Kipper on May 06, 2011, 02:15:28 PM
Is it possible to crop out the terrain beyond the heightfield map information?
Title: Re: Crop terrain?
Post by: dandelO on May 06, 2011, 02:36:37 PM
Hi, Redmaw.

You can easily do this with a 'default shader' and a 'simple shape shader'.

Make the simple shape at the same size and coord's of the heightfield('apply colour' checked to white and no 'edge profile'), pop a default shader into the 'shaders' tab before the planet node and use the simple shape shader as the 'opacity function' of the default shader.

See attached image. In the background, you can see the atmosphere only, no planet surface.

Is this what you mean?

[attachimg=#]
Title: Re: Crop terrain?
Post by: Kevin Kipper on May 06, 2011, 02:45:59 PM
Perfect!  That did the trick.  Thank you!