O'Reilly logo

Blender Game Engine Beginner's Guide by Victor Kuller Bacone

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action — making waves

There are many ways to create water. The movement of fluids is not recommended to generate waves. Therefore, let's turn to texture movement, as it makes it appear as if the water moves. With the BGE, we can use several different techniques, depending on the final texture mode. In this case, it only works with GLSL.

  1. Make a plane by going to Menu | Add | Mesh | Plane. Scale it as you like, and apply a cloud texture twice, as water1 and water2, as follows:
    Time for action — making waves

    Tip

    The Cloud texture is one of a list of the available procedural textures that give an overall irregularity to the material, to look like the sea.

  2. Increase the size ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required