Stylized Water Shader Documentation

Notice

This asset is soon to be deprecated! You will still have the ability to download it forever.

A last update will follow where this documentation will be included as a PDF. After 8 years in the running, it is no longer reasonable to put it up for sale.

Thank you for making this asset a long-lasting favorite ❤️

Stylized Water Shader

Stylized Water Shader
Version: 2.1.6
Review

8.Performance guidelines #

Mobile
The lighting method makes the biggest difference in performance, at least between “Simple” and “Advanced. As does enabling the normal map. For example, this is how a rather old Samsung Galaxy S4 Mini performs in comparison:

Lighting mode Normals FPS
Simple Disabled 47
Simple Enabled 38
Advanced Disabled 28
Advanced Enabled 23

Modern devices can have all features enabled and still hit 60 fps.

Reflections
To achieve reflections, all objects above the water are rendered using a secondary camera (for every camera). This means your polycount and drawcalls can essentially be doubled.

In order to minimize the performance impact, it is recommend to make use of the “Reflect Layers” dropdown. Small objects like grass or VFX could be ignored in this way. Make sure to always ignore the layer the water object is on, by default this is the “Water” layer. This avoids recursive reflections.

Alternatively, disable reflections entirely and use a Reflection Probe. In order to use this, the lighting method must be set to “Advanced”.

When splitting up your water into tiles, planar reflections should be disabled to avoid re-rendering reflections for every individual tile.

Yes No Suggest edit
Last updated on November 26, 2020
6 of 6 users found this section helpful
Suggest Edit