Tyrbo Make your game

Free effect · CC0

Gradient Sky with Clouds

By Tyrbo · 3 effects

Gradient Sky with Clouds, effect by TyrboGradient Sky with Clouds, effect by Tyrbo

About it

A sky for three.js: a gradient from the horizon up, a sun with its glow, drifting cartoon clouds lit from the sun with a bright rim toward it, and at night twinkling stars and a moon. Day, sunset and night presets in one draw call behind everything, with the sun direction to aim your light.

What's inside

  • day sky
  • sunset sky
  • night sky
  • clouds
  • stars

Use it in your game

Each effect is an ES module for three.js. Import it, make it with your scene, and call its update(dt) once a frame; dispose() frees it. Open demo.html to see it run and try its options. It needs only three (npm install three, or the import map in the demo).

The license

CC0 1.0 puts it in the public domain: use it in any game, free or paid, change it, and ship it without asking anyone or crediting anyone. A credit is still a kind thing to give: "Gradient Sky with Clouds by Tyrbo, CC0".

More effects

See all

Make a game for your phone with Tyrbo

Make your game

Sign in to get the plan and its concept art. Both are free.