Source SDK

Source SDK

Water texture missing, no leaks. [SOLVED]
Hi,
I'm working on a map and the water texture has vanished all of a sudden. It worked before, i have checked for leaks, there are no visible leaks, and there are no pointfile to load after a full compile.

There is water in other parts of the map that works. But water in this one area is there, but invisible.

I need help pin-pointing the actual issue that is causing the water in this area to vanish.
Appreciate any help!

( - link removed - )
Last edited by ♔ AquaRex ♔; Oct 18, 2017 @ 11:34am
< >
Showing 1-5 of 5 comments
No leak in your log, but really many error strings. Did you try to replace the water texture with another one? You can try to compile only the area with bugged water, using cordon tool. If the bug remains, it's a water brush or texture problem, if the bug is fixed, there something wrong in another part of the map.
Also, be sure all the requirements to get a working water are satisfied:

Requirements

To make it perform efficiently, water also has a collection of rules regarding its placement and usage inside of a map.
There may be only one water level height in a PVS if the water is expensive.
"Expensive" and "cheap" water may not be used simultaneously in the same PVS.
The water's surface should never slope in the Z-axis; it should always be parallel to the horizon line in a map.
Water is created by applying a water material to the top-most surface of a brush, while covering the remaining faces with the tools\toolsnodraw material.
The water_lod_control entity controls the distance at which expensive water transitions into cheap water.
An env_cubemap entity must be present for the water surface to render properly on sub-DX9 hardware.
Areaportals may never cross the water surface.
Water does not seal the map.
Water does not work with brush entities, and should not be attached to an entity. Water brushes included in any brush entity will not render correctly. The only exception is func_water_analog.

(Pasted from Valve viki page: https://developer.valvesoftware.com/wiki/Adding_Water )
Last edited by [B.n.B] AlcyToronto; Oct 18, 2017 @ 2:07am
♔ AquaRex ♔ Oct 18, 2017 @ 4:40am 
Thank you for your reply, and for the suggestion to cordon the map. I compiled that part of the map only, and the bug remained ( - link removed -)

I also compiled smaller portions of within the area, to attempt to isolate if this was an issue with the area, or the water brush / texture. First around some buildings that are near the water, including the water, and also a small area where there were only water.

The bug persisted in all the tests, and none of the compile logs showed any signs of errors from interlopers.

This begs me to belive there is a problem with the water brush or texture, so i changed the texture to the one i have working in another part of the map already, and did the tests again, this proved the same result. So im then guessing there is a problem with the brush, which i dont understand. It follows all the requirements that you linked, but the problem is still persisting.

I've added a screenshot of the smallest cordon test i did ( - link removed - )
It is to my understanding that a cordon isolates the area, preventing leaks from going outside the cordon area, if im wrong there, let me know.

Im still clueless as to what the actual problem is here, but at least i now know its not necessarily a problem with the rest of the map.
Last edited by ♔ AquaRex ♔; Oct 18, 2017 @ 11:34am
Yes, the cordon tool does what you said: encloses the selected potion of the map into a sky hollow cube to seal the leaks, and let you compile only that portion. If the same water texture works on other parts of the map, it should be a brush problem. If you can load somewhere your vmf I can try to see what happens.
♔ AquaRex ♔ Oct 18, 2017 @ 10:23am 
Yeah, it made sense. I copied a small portion of the map into a different map file, to see if the problem still persisted there, it did. I'll provide that one, as this one is not working for me either. Let me know if you need the full map, and i'll upload that aswell.
This smaller one has the same problem, but saves space and time.

Edit: Using this smaller version, i've removed bits and compiled, to see if anything changed, untill i was left with the walls, skybox water and viscluster. I removed the viscluser, and the water rendered normally. Im gonna test this on the full map now, and see if this fixed the problem.
Last edited by ♔ AquaRex ♔; Oct 18, 2017 @ 11:33am
♔ AquaRex ♔ Oct 18, 2017 @ 11:32am 
[SOLVED] The problem has been solved. My issue was a viscluster that was intersecting with the water. This caused the water to not render in game.

In the area with water, i had a viscluster cover the entire size of the area, as it was an open area with no blockages.

What fixed my issue was rising the viscluster to be above the water and make sure it didnt touch the water, and the problem was solved.

I was not aware this was a problem, i'll leave this here for future reference and for other people that might make the same mistake.


Thanks AlcyToronto, for guiding me in the right direction to finding the issue!
Last edited by ♔ AquaRex ♔; Oct 18, 2017 @ 12:27pm
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Oct 17, 2017 @ 8:03pm
Posts: 5