Unity Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension)
Overview
Key features
Waterline rendering for partially submerged cameras (supports split screen).
Scene lighting is translated into the underwater fog, including sub-surface scattering. Reacts to dynamic directional and ambient lighting.
Caustics rendering on geometry. Directional projection option.
Blurring and distortion.
Underside of the water is correctly shaded, to seamlessly match.
Includes sub-graphs to add underwater fog support for transparent Shader Graphs (+ASE).
Scalable performance, features can be limited on the render feature.
Component to switch between different water bodies based on Box Colliders.
VR rendering support.
Imports directly into the StylizedWater2 folder (wherever it is located).
Executes before transparent materials, so they will not appear to be affected by fog. Includes a subgraph for getting the water density and underwater mask, which can be used to fade out a custom transparent material into the water fog.
Third party fog effects will still apply to the underwater environment. As long as the underwater fog is denser, this will not be noticeable.
Looks best when reflections and refractions are enabled on the water material.
Performance and feature limiting options are exposed on the render feature, so they can be used for multiple quality levels.
Using the combination of HDR, Tonemapping and the Gamma color-space will not guarantee the underwater fog matches the water perfectly (Linear color-space should be used).
The waterline will always render when the camera goes below the water level. The static UnderwaterRenderer.EnableRendering boolean should be disabled in game logic to handle such cases, or by using the "Underwater Trigger" component.
Fog needs geometry to work with; an empty scene or void underneath the water naturally results in a single-color fog appearance.
Note: not compatible with Curved World 2020 or WaveMaker. The COZY and Atmospheric Height Fog assets require modifications (see documentation).
Included content
Underwater Trigger example scene, with two different water bodies.
Compatibility
Requires the Stylized Water 2 asset (v1.5.2 or higher) to be installed.
Compatible with Unity 2021.3 through 2023.2.
Built on the Universal Render Pipeline's shader library and rendering API, so it exclusively works in URP-based projects. It is expected that the Universal Render Pipeline is already known and the project has already been converted to it; before starting development, the render pipeline to use in the project must be decided.
Unity 2022.3.62f2: Built-in unsupported; URP supported; HDRP unsupported.
Unity 2021.3.16f1: Built-in unsupported; URP supported; HDRP unsupported.
Requirements
Requires a Universal Render Pipeline project.
Render pipeline compatibility
| Unity | Built-in | URP | HDRP |
|---|---|---|---|
| 2022.3.62f2 | |||
| 2021.3.16f1 |
Technical specifications
- Original creator
- Staggart Creations
- Current official version
- 1.2.9
- Supported engines
- 2021.3.16, 2022.3.62, 2021.3.16f1, 2022.3.62f2
- Render pipelines
- 2021.3.16f1 · URP; 2022.3.62f2 · URP
- Official file size
- 2.31 MB
- Official update date
- 2026-09-04
- Asset file count
- 56
- Package format
- unitypackage
- First official release
- 2021-08-09
Tags
Full description
REQUIRES THE STYLIZED WATER 2 (v1.5.2+) ASSET TO BE INSTALLED! Before purchasing, you must acknowledge this. Compatible with Unity 2021.3 through 2023.2 Draws a waterline lens effect for partially submerged cameras, through an innovative technique. Unlike in many games, it won't be required to snap the camera to sit either above or below the water, or resort to other tricks. Compatible with the Dynamic Effects extension. Effects such as ripples and shoreline waves also affect the camera's water line.
Features: • Underwater fog based on the water's deep/shallow colors. Option to use volumes to blend settings. • Waterline rendering for partially submerged cameras (supports split screen) • Scene lighting is translated into the underwater fog, including sub-surface scattering. Reacts to dynamic directional and ambient lighting. • Caustics rendering on geometry. Directional projection option. • Blurring and distortion • Underside of the water is correctly shaded, to seamlessly match. • Includes sub-graphs to add underwater fog support for transparent Shader Graphs (+ASE) • Scalable performance, features can be limited on the render feature • Component to switch between different water bodies based on Box Colliders. • VR Rendering support
Limitations: • Not suitable for mobile hardware • Designed for oceans, lakes and ponds. Dioramas or aquariums aren't possible. • Can't mask underwater (eg. submarine windows) • Not a volumetric fog/light solution, but rather depth-based. • Requires a single water level (incompatible with rivers/planets) [ Refund policy ] Refunds cannot be granted for not having read the sections on this page Scene and assets shown in video/screenshots are for showcasing and aren't included. A functional demo scene is included though.
Imports directly into the StylizedWater2 folder (wherever it is located) Executes before transparent materials, so they will not appear to be affected by fog. Includes a subgraph for getting the water density and underwater mask, this can be used to fade out a custom transparent material into the water fog. Third party fog effects will still apply to the underwater environment. As long as the underwater fog is denser, this won't be noticeable. Looks best when reflections and refractions are enabled on the water material Performance and feature limiting options are exposed on the render feature, so can be used for multiple quality levels Using the combination of HDR, Tonemapping and the Gamma color-space will not guarantee the underwater fog matches the water perfectly (Linear color-space should be used). Waterline will always render when the camera goes below the water level. The static UnderwaterRenderer.EnableRendering boolean should be disabled in your game logic to handle such cases. Or by using the "Underwater Trigger" component. Fog needs geometry to work with, an empty scene/void underneath the water naturally results in a single-color fog appearance.
Note: not compatible with Curved World 2020 or WaveMaker. The COZY and Atmospheric Height Fog assets require modifications (see documentation).
⚠️ It is expected you already know what the Universal Render Pipeline is, and have already converted your project to it. Before you start development, you must decide which render pipeline to use in your project. Built on the Universal Render Pipeline's shader library and rendering API, so exclusively works in URP-based projects.
Ratings and reviews
You can rate and review this item after purchase.
No buyer reviews yet.