masking water

Started by dorianvan, April 05, 2013, 02:25:33 PM

Previous topic - Next topic

dorianvan

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.
-Dorian

Tangled-Universe

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.

dorianvan

I like easy, so I'll do that. So to be clear, there's no way to mask the disc?
-Dorian

Tangled-Universe

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.

dorianvan

-Dorian