O'Reilly logo

Unity iOS Essentials by Robert Wiebe

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

Water that works

Tip

Bug Alert – iPad2 and Unity3D v3.3

If you run a project that uses lightmaps and fog on the iPad 2, then using Unity3D v3.3 or earlier will cause it to crash. This bug has been reported to the folks at Unity3D and has been fixed in Unity3D v3.4. So, if you try this water on an iPad 2, or with an old copy of Unity3D, then it will crash unless you remove the underwater fog. The best thing to do is to always make sure you are using the latest version of the Unity3D game engine so that known bugs are fixed (and you only need to work around the newly introduced bugs).

There are a few basic things that water needs to do to work nicely on an iOS device :

  • Have a reasonably nice translucent texture
  • Create a splash when something falls into ...

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