Still waters run deep

Water is one of the more difficult things to render well. You can't simulate an ocean by creating an animated mesh, or a battalion of particle emitters. If your code does not calculate all the light reflections and refractions perfectly, the water simulation is bound to look like either melting plastic or leaking mercury.

The jMonkeyEngine comes prepackaged with two different ready-made water effects for your scenes: SimpleWaterProcessor and WaterFilter.

Get jMonkeyEngine 3.0 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.