Website powered by

Ocean shader

For the game Bitcraft, I created a shader for the ocean with Unity Shadergraph. This is a huge focal point of the game, since players can travel between terrain islands in boats they craft themselves.

The water in action. Notice the refraction, caustics and stylized waves near the shore.

A video of me changing the different parameters of the water shader to demonstrate what they do.

The shader graph for the water. It uses the camera's depth texture and opaque texture to achieve most of the effects.

The shader graph for the water. It uses the camera's depth texture and opaque texture to achieve most of the effects.