water reflections issue

water reflections issue

Re: water reflections issue Posted by Andrei on Thu Jun 9th 2005 at 12:08am
Andrei
2455 posts
Posted 2005-06-09 12:08am
Andrei
member
2455 posts 1248 snarkmarks Registered: Sep 15th 2003 Location: Bucharest, Romania
Some images in this post have been automatically down-sized, click on them to view the full sized versions:

User posted image

I'm not new to the source engine's water system but I have to admit that this thing really gets to me.

If I sit in the water everything works fine and the reflections look as
they should. If I peek through the spaces in position #1 the water
looks OK aswell but when I look at it through the spaces near position
#2 everything that is under the surface of the water becomes pitch
black and, if I slowly approach the rail at the side of the basine, the
reflections appear all borked-up, the damn things moving along with the
player's sight. For some reason, I believe that the engine thinks there
is a wall (the red thingie) over there and, deciding that the player
can't see the water, turns it into cheap water. For a while I thought
that the prop_Static rails might have something to do with it but
judging by the fact that position #1 is marked by the same type of
rails, this theory bites the dust. To make sure, I even removed the
rails but to no avail. The water lodcontrol entitie is properly
configured so the problem isn't there as one might be tempted to think.

Anyone have any ideas as to where i'm screwing-up?

I also noticed another strange thing which doesn't have to do with my
problem, though: if you submerge slowly you notice that the water
"follows" your descending path until you are under the surface.
Re: water reflections issue Posted by Campaignjunkie on Thu Jun 9th 2005 at 3:26am
Campaignjunkie
1309 posts
Posted 2005-06-09 3:26am
1309 posts 329 snarkmarks Registered: Feb 12th 2002 Occupation: Student Location: West Coast, USA
Try raising the water level up (and the submarine along with it, I
suppose). In one of my own maps, I had certain locations where the
player could stand fairly high above the water (1024~ units?), and at
that point the "expensive water" reflections would get screwed up like
how you describe.
Re: water reflections issue Posted by Leperous on Thu Jun 9th 2005 at 9:05am
Leperous
3382 posts
Posted 2005-06-09 9:05am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
In addition to CJ, you might want to investigate the env_cubemap you're using for this particular pool of water too?
Re: water reflections issue Posted by Andrei on Thu Jun 9th 2005 at 2:28pm
Andrei
2455 posts
Posted 2005-06-09 2:28pm
Andrei
member
2455 posts 1248 snarkmarks Registered: Sep 15th 2003 Location: Bucharest, Romania
Try raising the water level up (and the submarine along with it, I
suppose).
I don't know why, but this actually worked! Thanks alot man! :biggrin: