Real GPGPU-Powered Wave Simulations on Unity, Real Fast
Triton for Unity Pro is a native plug-in for Windows and MacOS desktop standalone projects. It wraps the full power of the Triton Ocean SDK, tapping into the power of your graphics card’s GPU to perform Fast Fourier Transforms for simulating thousands of waves at once, at hundreds of frames per second. Triton for Unity will use CUDA, OpenCL, or multi-core CPU’s to accelerate its wave simulations depending on your system. Specify any wind conditions you wish to simulate, and Triton will give you accurate wave conditions complete with particle-based spray effects, cubic and planar reflections, and foam. If you’re looking for realistic, fast Unity water – give Triton a try. Triton’s shaders perform full Fresnel refraction calculations as well as reflections. Triton for Unity connects with your scene’s camera, environmental cube map, and light sources to provide water that matches the rest of your scene. Triton for Unity Pro is a serious simulation, suitable for serious games. These are real 3D waves, not just a shader on a flat plane.
Ship Wakes in a Single Pass
Triton for Unity includes a WakeGenerator script that may be attached to any object in your scene. With this script, your object will generate Kelvin wakes that displace the ocean surface, propeller backwash effects behind the object, and particle-based bow spray effects – all automatically, and in the same pass as the rest of the ocean. You may attach as many WakeGenerators in a scene as you wish – Triton will automatically prioritize the ones closest to the camera for you.
Rotor Wash and Impact Effects
Easy-to-use RotorWash and Impact scripts may be attached to any object to generate particle-based spray and real 3D wave displacements and foam from helicopter rotors or from objects hitting the water. This is a real simulation, taking into account things like the velocity, mass, and direction of impactors, and the size and wind speed of the rotors.
Triton for Unity can automatically create a height map from your scene, used to smoothly blend the water with your terrain at the coastline. This same height information is used to restrict Triton’s water to areas at or below the sea level you define, and also produces breaking wave effects if your terrain realistically extends below the sea. Please note this feature is currently only available on Windows – on MacOS we offer instead a depth offset parameter that may be used to prevent depth fighting at coastlines.
Triton’s Unity scripts include methods for collision detection along a given ray, or for finding the collision point nearest a given point. Your own scripts may use the points and surface normals returned to accurately place floating objects on Triton’s water, or to power your own buoyancy models for larger ships.
Free to Try
Download Triton for Unity Pro 4.2 for free and see if it meets your needs for Unity water effects. If so, purchase a license from the Unity Asset Store to remove all licensing reminder dialogs and time restrictions. As with all Unity assets, it is licensed per developer seat. To install it:
- Run our installer
- Import the Triton.unitypackage into your project
- Drag a TritonPrefab into your scene, and configure it.
Easy to Use
Although Triton for Unity wraps over 70,000 lines of code, using it is easy. Simple instructions are included with the package, and we’ve also provided this tutorial video that shows how to integrate Triton’s 3D water into your own Unity scenes. Also check out the demo video of our demo application. Triton also interoperates with SilverLining Skies and 3D Clouds for Unity; by connecting SilverLining’s light sources to Triton’s oceans, and enabling dynamic cube-map generation in Triton, scenes such as the ones on this page become possible. These images all feature SilverLining’s skies and 3D volumetric clouds together with Triton, with the sky, clouds, and sunlight properly reflected in the water.
This video capture illustrates Triton and the SilverLining Sky and 3D Cloud package for Unity working together.
Here’s an example of buoyancy using Triton’s height queries and impact effects to animate a ship in rough seas.
This video capture is from the Triton for Unity Pro demo application.
Still using Unity 3.5? We still have our older version available, but note that it is unmaintained. Download Trial For Unity Pro 3.5.6 / Windows