Skip to main content
Annual billing

ThreeJS.net annual plans cost about 50% less than 12 monthly payments

Save

Ocean Sunset

An open sea at sunset with a floating cube

Source on GitHub

By three.js authors. Open source under the MIT licence; hosted here with its licence, unmodified apart from a small script that lets ThreeJS.net embed it. The prompt below is our description of the work, not the author's.

About this scene

An open ocean at sunset: a low sun over the horizon, its light spilling across the swell, and a dark cube bobbing on the water. The water and sky are three.js objects tuned for a dramatic golden hour. Drag to look around. An official three.js example.

How it is built

  1. 01

    Water from normals

    A scrolling normal map breaks up the reflection of the sky and sun into glittering swell.

  2. 02

    A low sun

    The sun sits just above the horizon, so the whole sea reads as gold against a dark sky.

  3. 03

    Scale with one object

    A single cube on the water gives the eye a sense of size and motion.

Questions

Who made this?
It is an official three.js example (webgpu_ocean), made by the three.js authors and released under the MIT licence with the library. ThreeJS.net hosts a copy of the page with a small embed script; its textures and models load from the three.js repository at release r187.

More examples