Water At Different Heights

Water At Different Heights

Re: Water At Different Heights Posted by Le Chief on Thu May 1st 2008 at 6:50am
Le Chief
2605 posts
Posted 2008-05-01 6:50am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Hey guys.

I working on a Dam map for source and I was quite surprised to find out that I can't have water at different heights. I was wondering if there is some sort work around or at least "something that looks like water" that I could use.

I've done a bit of searching around and haven't found anything.

Thanks.
Aaron's Stuff
Re: Water At Different Heights Posted by Captain P on Thu May 1st 2008 at 9:46am
Captain P
1370 posts
Posted 2008-05-01 9:46am
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
You can have water at different heights, but you can't have two planes of expensive water visible at the same time. So you'll have to use a cheap water material for these surfaces. For a more detailed explanation, see here: http://developer.valvesoftware.com/wiki/Adding_Water#Requirements
Create-ivity - a game development blog
Re: Water At Different Heights Posted by Naklajat on Thu May 1st 2008 at 9:39pm
Naklajat
1137 posts
Posted 2008-05-01 9:39pm
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
This is just speculation, but: If any of the water surfaces are inaccessible you might be able to create a VMT that would look exactly like normal water but be a solid surface, kind of like an animating glass texture. IIRC the reason for expensive water having to be on a single plane in any PVS is the way the reflection is implemented, so you might need to get rid of that in the 'fake' water. The benefit of doing it that way would be that you wouldn't have to compromise with cheap water, since the fake water isn't water at all.

o

Re: Water At Different Heights Posted by Le Chief on Fri May 2nd 2008 at 6:03am
Le Chief
2605 posts
Posted 2008-05-02 6:03am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Ah, thanks Captain P.

Baron von Snickers, that sounds like a good idea, I might try it once I work out how VMTs work.

Thanks guys :smile:
Aaron's Stuff