URP Water is designed to have great flexibility without the hassle of complex setup. It is focusing on art direction control rather than physically accurate rendering.
Hand coded for optimal performance and maximum customizability, URP Water is also simple to setup! No matter if your art direction is realistic or stylized, URP Water has enough options to match your needs.
– Features –
Dynamic Effects
Use any kind of renderer ( particles, trail renderer, mesh etc… ) to dynamically affect the surface of the water. Using the provided or your own shaders, you can affect the normals, foam and displacement of the water surface.
Vertex Paint
Using vertex paint you can directly add foam, mask displacement or change the opacity of the water.
– Water Parameters –
Refraction
Use color pickers or gradient editor to control the color of the water.
Select the depth range of the color mapping.
Control the amount of refraction distortion.
Specular
Specular highlights with color and smoothness control.
Normal Maps
Multiple modes with control over tiling, speed and intensity including:
Single Mode: one texture animated in 2 different directions
Dual Mode: two textures animated in 3 different directions
Flow Map: use a texture to define the scrolling direction of the water
Facet: for low poly look
Far Map: A different normal map is animated in 2 different directions when the water reaches a certain distance from the camera. You have control over at what distance it happens.
Reflection
Cubemap
Reflection Probe
Planar Reflection
Foam
Edge foam
Ripples
White caps
Caustics
2D texture
3D texture
React to shadows and light direction
Angle mask
Displacement
Gerstner Wave ( up to 4 waves )
Tessellation
Edge length tessellation: the subdivisions addapts to the distance from the camera and the relative size of the edges.
Options
Double sided
World space UV
Orthographic camera support
Vertex color effects
Add foam
Dispalcement mask
Alpha mask
– Includes –
Standard URP Water shader
Tessellated URP Water shader
Custom Inspector
Example shaders for Dynamic effects ( foam and normal/displacement )
Water Mask Shader
Dynamic effects script
Planar reflection script
Extensive Demo scenes with every feature explained
A few example textures
– Futur Roadmap –
This is a first release, but I plan on adding more features in the future for free.
ex:
Keep improving the look of the water
Underwater effect
and more…