Skip to main content
Annual billing

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

Save

SSGI Ball Pool

A room of glossy balls lit by bounced coloured light

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

A white room with a red wall and a green wall, filled with glossy coloured balls. Light bounces off the walls and balls onto each other — the red and green bleed into the white — with screen-space global illumination in real time. Drag to orbit. An official three.js example.

How it is built

  1. 01

    Bounced light

    SSGI gathers light that bounced off nearby surfaces, so colours spill onto their neighbours.

  2. 02

    A classic test

    Red and green walls in a white room make the bounce easy to see, like the Cornell box.

  3. 03

    Lots of balls

    Spheres fill the floor, each catching the light around it.

Questions

Who made this?
It is an official three.js example (webgpu_postprocessing_ssgi_ballpool), 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