1. Lost Twins 2
  2. News
  3. Devlog #37 - Crafting Dynamic Water Effects

Devlog #37 - Crafting Dynamic Water Effects

Hello, everyone! We are excited to bring you the latest updates on our game development journey. This time, we're diving deep into the creation of dynamic water effects that will elevate your gaming experience.

Our goal is to make the water in our game not just a visual element but a living, interactive part of the environment. Characters will swim, alter water flows, and encounter various underwater challenges as they progress through the levels.

Water Effect Development:

To make our water look real and captivating, we used Amplify Shader in Unity. This allowed us to create more realistic effects by using a specular surface shader.

One of the main challenges were enabling programmers to control water flow and movement through adjustable parameters. To tackle this, we used a Step node to convert a range of linear values into constant values, essentially creating a mask that filters out unnecessary parts of the water by converting shades of gray to black and white.

We further refined this by combining object rotation coordinates with a rotator node to control the angle in object space. The remainder of the shader involved fundamental math operations, incorporating a noise texture to give a realistic watery feel and animating it to simulate fluidity.

Adding to this effect, we introduced movement by multiplying the Step node with another noise map and feeding the result into the vertex offset. This technique brought the water to life, achieving the desired fluid and dynamic appearance.

From there, the possibilities expanded, allowing us to add elements such as bubbles, jellyfish, and more, enhancing the overall visual experience.

[previewyoutube][/previewyoutube]

[previewyoutube][/previewyoutube]

We are committed to refining these water effects and seamlessly integrating them into our upcoming levels. Thank you for following our development journey. Your feedback and support are invaluable to us as we continue to innovate and push the boundaries of what's possible in our game. Keep an eye out for more exciting updates, and until next time, happy gaming!

Best regards,
Playdew Team

https://store.steampowered.com/app/1752540/Lost_Twins_II/