Gita Assets
Unity / Visual Effects

Unity Updated edition Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension)

Overview

Underwater Rendering for Stylized Water 2 (Extension) extends the Stylized Water 2 shader asset with underwater rendering, by seamlessly blending the water with post processing effects. It draws a waterline lens effect for partially submerged cameras through an innovative technique, without requiring the camera to sit either above or below the water, or resorting to other tricks. It is compatible with the Dynamic Effects extension; effects such as ripples and shoreline waves also affect the camera's water line.

Key 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.
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.

Included content

A functional demo scene; sub-graphs to add underwater fog support for transparent Shader Graphs (and ASE); a sub-graph for getting the water density and underwater mask; an Underwater Trigger component to switch between different water bodies.

Compatibility

The version sold in this store is 1.2.9; actual support is governed by that version. Built on the Universal Render Pipeline's shader library and rendering API, so it exclusively works in URP-based projects. It is expected you already know what the Universal Render Pipeline is, and have already converted your project to it. The official reference states compatibility with Unity 2021.3 through 2023.2. Compatibility matrix: Unity 2022.3.62f2: Built-in: unsupported; URP: supported; HDRP: unsupported. Unity 2021.3.16f1: Built-in: unsupported; URP: supported; HDRP: unsupported.

Requirements

Requires the Stylized Water 2 (v1.5.2+) asset to be installed. Requires a Universal Render Pipeline project.

Render pipeline compatibility

UnityBuilt-inURPHDRP
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, 2022.3.62f2, 2021.3.16f1
Render pipelines
2022.3.62f2 · URP; 2021.3.16f1 · 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 (see section above) « Compatible with Unity 2021 .3 through 2023.2 » Draws a waterline lens effect for partially submerged camera's, 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) 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.

Unity Updated edition Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension) · Unity Visual Effects · Preview 3Unity Updated edition Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension) · Unity Visual Effects · Preview 4Unity Updated edition Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension) · Unity Visual Effects · Preview 5Unity Updated edition Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension) · Unity Visual Effects · Preview 6Unity Updated edition Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension) · Unity Visual Effects · Preview 7Unity Updated edition Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension) · Unity Visual Effects · Preview 8Unity Updated edition Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension) · Unity Visual Effects · Preview 9Unity Updated edition Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension) · Unity Visual Effects · Preview 10Unity Updated edition Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension) · Unity Visual Effects · Preview 11Unity Updated edition Underwater Rendering for Stylized Water 2 1.2.8 | Underwater Rendering for Stylized Water 2 (Extension) · Unity Visual Effects · Preview 12
Contact support