Template:Water entity notes

From Valve Developer Community
Revision as of 09:24, 11 December 2025 by SirYodaJedi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Water entity notes (edit):

Icon-Important.pngImportant:Does not work with the Water shader.
Refract can be used as a workaround for dynamic refraction with cubemapped reflections, although Valve does not provide any materials which do this.
Existing materials which are compatible include:
Confirm:Does the Water shader work if using cubemap reflections and refractions, instead of the real-time versions? This would still be beneficial for the ability to have two normal maps scrolling in different directions.
Icon-Bug.pngBug:Water must be part of the world in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series otherwise it doesn't work properly and acts as non-solid brush.
Non-Valve games (Black Mesa)
Icon-Bug.pngBug:In Black Mesa Black Mesa, if this entity uses multiple brushes, VPhysics objects interact incorrectly with this entity. It looks like they are using BBox of this entity to calculate physics, instead of using brushes. This issue can be found in Interloper chapter. Separate water into several separate entities to avoid this bug.
Examples.
Note how the hat is "flying in air".
Note how the hat is "flying in air".