Planetside Software Forums

General => Terragen Discussion => Topic started by: dorianvan on April 05, 2013, 02:25:33 PM

Title: masking water
Post by: dorianvan on April 05, 2013, 02:25:33 PM
Is it possible to mask a lake in TG2? I have some rectangle pool objects imported, and need the water.  The lake node is round and rotated wrong, I was thinking if there was a way to mask it, I could make the water any shape. Thanks.
Title: Re: masking water
Post by: Tangled-Universe on April 05, 2013, 03:07:08 PM
The water object is a disc object, but you can also create a plane object and attach a water shader to that as surface shader. Easy peasy.
Title: Re: masking water
Post by: dorianvan on April 05, 2013, 05:39:26 PM
I like easy, so I'll do that. So to be clear, there's no way to mask the disc?
Title: Re: masking water
Post by: Tangled-Universe on April 05, 2013, 05:49:34 PM
Quote from: dorianvan on April 05, 2013, 05:39:26 PM
I like easy, so I'll do that. So to be clear, there's no way to mask the disc?

Of course there's a way to mask the disc:

http://www.planetside.co.uk/forums/index.php/topic,8793.msg94182.html#msg94182

Once you understand this method you'll see that there are multiple ways of applying a mask for the water.
For instance, (camera projected) image map, simple shape shader, distance shader etc.

But serious, use the plane object, much quicker, easier to do and less laborous.
Title: Re: masking water
Post by: dorianvan on April 05, 2013, 06:27:05 PM
Thank you!