Stylized Water Shader Graphs

$9
Publisher Pixagonal Games
File size 34.16MB
Number of files 271
Latest version 1.0.0
Latest release date 2024-11-29 07:01:13
First release date 2024-11-29 07:01:13
Supported Unity versions 2018.4.2 or higher

I originally created these shader graphs for a project of mine. You can change the water color (both deep and shallow colors), and adjust i's opaqueness anywhere from completely opaque to transparent.


Below is what's included in this pack:


Water Shader Graphs (lit and unlit variants):

  • Flowing water
  • Standing Water
  • Waterfalls
  • Waterfall Base Ripples

Terrain Shader Graphs:

  • Triplanar 2-material variant
  • Triplanar 2-material variant with side UV projection
  • Triplanar 2-material variant with splat map support
  • Triplanar 2-material variant with vertex color blending support
  • Triplanar 3-material variant
  • Triplanar 3-material variant
  • Triplanar 3-material variant with splat map support
  • Triplanar 3-material variant with vertex color blending support

Particle FX:

  • Waterfall top foam particles prefab
  • Waterfall base foam particles prefab

Sample Scenes:

  • Opaque water lit
  • Opaque water unlit
  • Transparent water lit
  • Transparent water unlit

Scripts:

  • WaterColorChangeSample.cs

The above script is just a demo that lets you set which water color will be used when you run the scene. You could use this same technique to change other stuff dynamically, like wave height at run time to simulate a storm moving in, etc. This script is on the WaterColorChanger prefab. It also has a mode that will fade through all the colors specified by the inspector.


NOTE: The textures you see on the terrain in the sample scenes are free CC0 textures by Lynocs.


Top Publisher Assets