Stylized Water 3 – Documentation

Stylized Water 3

Stylized Water 3
Version: 3.0.0
Review

4.5.Decals #

Decal Projectors cannot affect the water surface, because it is transparent in nature and therefor doesn’t write into the render pipeline’s depth texture.

Instead, this asset features it own – water specific – decal method.

> You can find several premade decals in the Prefabs/Effects/Decal folder

Water decals are regular plane meshes, using a specialized shader. This shader reads out the water’s height at every vertex position, and then snaps its Y-position to that height. As a result the plane appears to float on the water surface. Effects such as waves and dynamic effects influence them as well.

Take note of the “Sorting Priority” on every water decal’s material being set to +1. This ensures that they render on top of the water, instead of clipping through it.

Yes No Suggest edit
Last updated on October 10, 2024
0 of 0 users found this section helpful
Suggest Edit