1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

Broken water (not a leak)

Discussion in 'Mapping Questions & Discussion' started by UKCS-Alias, Dec 5, 2015.

  1. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    795
    I tried to add water, at close range the water looks all nice and works properly. However at a distance at certain angles the water decides to go into a broken state:
    [​IMG]
    The last thing it rendered is kept at the same place as if it decides to handle it similar to a nodraw. The water animation continues.

    I tried multiple water textures:
    water/water_2fort
    water/water_2fort_dx80
    water/water_hydro_cheap
    In all cases this bug shows up. Having cubemaps and lacking cubemaps doesnt seem to matter. Having a cubemap spefificly pointed to the water texture again does nothing.

    I do remember this bug from the CSS days already, but i never knew what causes it. So here is my question:
    Why does this happen, and what is the way to fix it?

    And in case you wonder, at close range it looks like:
    [​IMG]

    (both screens have the water/water_2fort texture)
     
  2. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    918
    Positive Ratings:
    1,479
  3. MoonFox

    MoonFox L10: Glamorous Member

    Messages:
    737
    Positive Ratings:
    72
    to add on: to fix (if yes), make all none top face viewable (what you jump into) nodraw. To fix (if no), check to see if your water touches the skybox, as that causes hammer to get all kinds of messed up.

    PS, I hope to see your map finished, looks good for what you have currently
     
  4. MaccyF

    aa MaccyF Notoriously Unreliable

    Messages:
    918
    Positive Ratings:
    1,479

    even if you nodrawed properly, if you have water surfaces are like this ____ ------ if those are two different bodies of water within the same visleaf (i think) you'll get broken water too.
     
  5. Vel0city

    aa Vel0city func_fish

    Messages:
    1,938
    Positive Ratings:
    1,542
    As long as those bodies of water don't touch each other they can be at different levels. It's a different story if you're using expensive water however. But this doesn't appear to be it in this case.

    If you haven't already, I suggest deleting all the water brushes and rebuild them from scratch. This might just be some stupid bug nobody's ever heard about that is fixed with just remaking the brush, and since we're speaking about Source, that's more than likely to happen a couple of times.
     
    • Useful Useful x 1
  6. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    795
    Thats the only water surface in the entire map and its at 1 level, and its made out of multiple brushes where only the top is textured with water.
     
  7. killohurtz

    aa killohurtz Distinction in Applied Carving

    Messages:
    1,018
    Positive Ratings:
    1,181
    The VDC page for water says that water brushes must be rectangular and implies that you should only use a single brush. Try doing these 2 things and see if the problem persists.
     
  8. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    795
    It still persists.

    Is there anything displacement related that can cause the issue?
     
  9. Zed

    aa Zed Certified Most Crunk™

    Messages:
    1,253
    Positive Ratings:
    1,016
    Is your water bordered by other brushes?
     
  10. UKCS-Alias

    aa UKCS-Alias Mann vs Machine... or... Mapper vs Meta?

    Messages:
    1,264
    Positive Ratings:
    795
    A substatus, thanks to E-Arkham i now know that its related to vvis since the problem starts happening on leaf transitions.