# \#sky

**URL:** https://discourse.threejs.org/tag/sky/623.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Complete Sky System for Three.js (Skybox, Sun/Moon, Day/Night Cycle, Clouds, Stars & Lensflares)](https://discourse.threejs.org/t/complete-sky-system-for-three-js-skybox-sun-moon-day-night-cycle-clouds-stars-lensflares/88311)

<div class="topic-metadata">

**Author:** [@red-reddington](https://discourse.threejs.org/u/red-reddington)\
**Replies:** 8\
**Last updated:** [November 26, 2025, 8:30pm UTC](https://discourse.threejs.org/t/complete-sky-system-for-three-js-skybox-sun-moon-day-night-cycle-clouds-stars-lensflares/88311 "2025-11-26T20:30:27Z")

</div>

This is meant to accelerate your game development by skipping a lot of boilerplate. Hey everyone! I wanted to share a package that aims to accelerate game development by taking care of the foundational sky and lighting…

---

## [Getting realistic light colours from three sky shader](https://discourse.threejs.org/t/getting-realistic-light-colours-from-three-sky-shader/86365)

<div class="topic-metadata">

**Author:** [@Tamsin](https://discourse.threejs.org/u/Tamsin)\
**Replies:** 0\
**Last updated:** [August 19, 2025, 10:08am UTC](https://discourse.threejs.org/t/getting-realistic-light-colours-from-three-sky-shader/86365 "2025-08-19T10:08:03Z")

</div>

I’m trying to use the sky shader from the three examples to get realistic and dynamic lighting for my scenes. I’m pointing some orthographic cameras at the sun position, directly up, and directly down, and using the .re…

---

## [How to use SkyMesh?](https://discourse.threejs.org/t/how-to-use-skymesh/85214)

<div class="topic-metadata">

**Author:** [@3DIsCool](https://discourse.threejs.org/u/3DIsCool)\
**Replies:** 2\
**Last updated:** [July 16, 2025, 11:34am UTC](https://discourse.threejs.org/t/how-to-use-skymesh/85214 "2025-07-16T11:34:37Z")

</div>

(at /examples/jsm/objects/SkyMesh.js) Sky has documentation, but I can’t find anything about SkyMesh. I figured out how to create the mesh and add it to the scene, but setting properties like .sunDirection and .rayleig…

---

## [Practical way to animate scene.environment?](https://discourse.threejs.org/t/practical-way-to-animate-scene-environment/84319)

<div class="topic-metadata">

**Author:** [@LordWellingtonIII](https://discourse.threejs.org/u/LordWellingtonIII)\
**Replies:** 8\
**Last updated:** [July 10, 2025, 3:55pm UTC](https://discourse.threejs.org/t/practical-way-to-animate-scene-environment/84319 "2025-07-10T15:55:05Z")

</div>

I’m using the Sky addon and animating the sun and other parameters. I’d like to update scene.environment every frame. Is there a way to do this that’s more efficient than this craziness? createEnvironment({ scene, ren…

---

## [Hello, how can i make an skybox like in unity?](https://discourse.threejs.org/t/hello-how-can-i-make-an-skybox-like-in-unity/77706)

<div class="topic-metadata">

**Author:** [@El\_comunista\_2.0](https://discourse.threejs.org/u/El_comunista_2.0)\
**Replies:** 1\
**Last updated:** [February 7, 2025, 1:00am UTC](https://discourse.threejs.org/t/hello-how-can-i-make-an-skybox-like-in-unity/77706 "2025-02-07T01:00:25Z")

</div>

Like this, with sun and day-night effects:

---

## [Mario super bros brasko](https://discourse.threejs.org/t/mario-super-bros-brasko/76327)

<div class="topic-metadata">

**Author:** [@Kamil\_Gaspar](https://discourse.threejs.org/u/Kamil_Gaspar)\
**Replies:** 0\
**Last updated:** [January 10, 2025, 10:37pm UTC](https://discourse.threejs.org/t/mario-super-bros-brasko/76327 "2025-01-10T22:37:06Z")

</div>

Super Mario Bros - Level 1 body { margin: 0; overflow: hidden; } canvas { display: block; background-color: #87CEEB; } /\* Mobile controls \*/ .button-container { position: absolute; …

---

## [Can you only use Sky during the day? How to show the night at the same time as the Moon or what are the good solutions?](https://discourse.threejs.org/t/can-you-only-use-sky-during-the-day-how-to-show-the-night-at-the-same-time-as-the-moon-or-what-are-the-good-solutions/74055)

<div class="topic-metadata">

**Author:** [@wenrenqiang](https://discourse.threejs.org/u/wenrenqiang)\
**Replies:** 0\
**Last updated:** [November 15, 2024, 8:10am UTC](https://discourse.threejs.org/t/can-you-only-use-sky-during-the-day-how-to-show-the-night-at-the-same-time-as-the-moon-or-what-are-the-good-solutions/74055 "2024-11-15T08:10:46Z")

</div>

https://postimg.cc/YGttbbvZ As shown in the shared diagram, there is a day-night effect, I can simulate the daytime sun with sky, but there is no nighttime moon. How best to solve?

---

## [The Sky Shader becomes a lump after post-processing](https://discourse.threejs.org/t/the-sky-shader-becomes-a-lump-after-post-processing/73613)

<div class="topic-metadata">

**Author:** [@wenrenqiang](https://discourse.threejs.org/u/wenrenqiang)\
**Replies:** 8\
**Last updated:** [November 15, 2024, 7:40am UTC](https://discourse.threejs.org/t/the-sky-shader-becomes-a-lump-after-post-processing/73613 "2024-11-15T07:40:07Z")

</div>

Figure 1 is the case when post-processing is not used, and in Figure 2 I use add-post-processing, and I only add the base render pass

---

## [F-35 Lightning II 3D model showcase](https://discourse.threejs.org/t/f-35-lightning-ii-3d-model-showcase/67500)

<div class="topic-metadata">

**Author:** [@Dragan\_Novkovic](https://discourse.threejs.org/u/Dragan_Novkovic)\
**Replies:** 2\
**Last updated:** [June 30, 2024, 12:28pm UTC](https://discourse.threejs.org/t/f-35-lightning-ii-3d-model-showcase/67500 "2024-06-30T12:28:44Z")

</div>

Presentation link: The 3D animated web presentation of F-35 Lightning II capabilities. For visualisation, three js Webgl renderer with composer passes is used. 3D model and Animation are done in Maya, exported in glt…

---

## [Logartis.info - Personal website set in a (semi)realistic procedural environment](https://discourse.threejs.org/t/logartis-info-personal-website-set-in-a-semi-realistic-procedural-environment/24286)

<div class="topic-metadata">

**Author:** [@logartis](https://discourse.threejs.org/u/logartis)\
**Replies:** 14\
**Last updated:** [May 6, 2024, 10:14am UTC](https://discourse.threejs.org/t/logartis-info-personal-website-set-in-a-semi-realistic-procedural-environment/24286 "2024-05-06T10:14:45Z")

</div>

I created this project to showcase my work and also some of the technologies/techniques I have learnt in the past years. www.logartis.info I wrote more about the challenges of the development in a behance project Than…

---

## [Matching fog color with the sky shader](https://discourse.threejs.org/t/matching-fog-color-with-the-sky-shader/52018)

<div class="topic-metadata">

**Author:** [@Bleach](https://discourse.threejs.org/u/Bleach)\
**Replies:** 5\
**Last updated:** [May 27, 2023, 8:44am UTC](https://discourse.threejs.org/t/matching-fog-color-with-the-sky-shader/52018 "2023-05-27T08:44:55Z")

</div>

Hello, I’m creating a scene with a Sky and Fog and wondering how or if its even possible to match the color of the fog to the color of the sky shader behind it, With the default fog far away objects just look like a soli…

---

## [SkyShader example, get light color](https://discourse.threejs.org/t/skyshader-example-get-light-color/17580)

<div class="topic-metadata">

**Author:** [@Omiod](https://discourse.threejs.org/u/Omiod)\
**Replies:** 5\
**Last updated:** [April 26, 2023, 12:36am UTC](https://discourse.threejs.org/t/skyshader-example-get-light-color/17580 "2023-04-26T00:36:54Z")

</div>

I’d like to add a directional light in a scene with the SkyShader. I can get the “sun” position, but I have no clues how to get the sun color to match with the light. Is it possible ? Thank you.

---

## [How to create ground and sky with gradient color, and extend indefinitely](https://discourse.threejs.org/t/how-to-create-ground-and-sky-with-gradient-color-and-extend-indefinitely/48563)

<div class="topic-metadata">

**Author:** [@YugoAmaryl46](https://discourse.threejs.org/u/YugoAmaryl46)\
**Replies:** 5\
**Last updated:** [March 1, 2023, 11:52am UTC](https://discourse.threejs.org/t/how-to-create-ground-and-sky-with-gradient-color-and-extend-indefinitely/48563 "2023-03-01T11:52:12Z")

</div>

I would like to create a small world like the one in this portfolio. I want the sky and ground extend indefinitely, with gradient color. So when user rotate the scene they won’t see the end. Any suggestions?

---

## [Fog color from the skybox environment](https://discourse.threejs.org/t/fog-color-from-the-skybox-environment/40670)

<div class="topic-metadata">

**Author:** [@Max1](https://discourse.threejs.org/u/Max1)\
**Replies:** 0\
**Last updated:** [July 24, 2022, 11:21am UTC](https://discourse.threejs.org/t/fog-color-from-the-skybox-environment/40670 "2022-07-24T11:21:03Z")

</div>

Context I want to make a realistic scene where there’s the terrain + sky box environment. I’m using a Sky shader from this example: https://threejs.org/examples/?q=water#webgl\_shaders\_ocean I want to make the terrain k…

---

## [Sky demo looks so bright](https://discourse.threejs.org/t/sky-demo-looks-so-bright/33557)

<div class="topic-metadata">

**Author:** [@ligaofeng0901](https://discourse.threejs.org/u/ligaofeng0901)\
**Replies:** 6\
**Last updated:** [January 13, 2022, 4:46am UTC](https://discourse.threejs.org/t/sky-demo-looks-so-bright/33557 "2022-01-13T04:46:38Z")

</div>

In this demo three.js examples . the sky looks so bright when sun rises, even looks white. I remember the sky was blue when the demo was first published a few years ago. Does anyone know what happened?

---

## [Change the color of the sky and become bluer](https://discourse.threejs.org/t/change-the-color-of-the-sky-and-become-bluer/32683)

<div class="topic-metadata">

**Author:** [@Qiumeng12](https://discourse.threejs.org/u/Qiumeng12)\
**Replies:** 2\
**Last updated:** [December 17, 2021, 2:54am UTC](https://discourse.threejs.org/t/change-the-color-of-the-sky-and-become-bluer/32683 "2021-12-17T02:54:43Z")

</div>

Using skyjs, I want to change the color of the sky. Where should I set it let sky = new Sky(); sky.scale.setScalar(5000); this.scene.add(sky); let sun = new THREE.Vector3(); const effectController …

---

## [How add skydom like the three editor](https://discourse.threejs.org/t/how-add-skydom-like-the-three-editor/30257)

<div class="topic-metadata">

**Author:** [@Djo](https://discourse.threejs.org/u/Djo)\
**Replies:** 0\
**Last updated:** [September 25, 2021, 7:02pm UTC](https://discourse.threejs.org/t/how-add-skydom-like-the-three-editor/30257 "2021-09-25T19:02:04Z")

</div>

hi all, how can i add a skydom to my scene like the editor i have try add box or sphere with texture map and back side but is not like the editor please help

---

## [How to make the sun not-blinding](https://discourse.threejs.org/t/how-to-make-the-sun-not-blinding/25857)

<div class="topic-metadata">

**Author:** [@cconsta1](https://discourse.threejs.org/u/cconsta1)\
**Replies:** 5\
**Last updated:** [May 12, 2021, 10:34pm UTC](https://discourse.threejs.org/t/how-to-make-the-sun-not-blinding/25857 "2021-05-12T22:34:07Z")

</div>

Hi all, I’m trying to create a scene with a sea that will look like this example and a sky that will look more like this example. I created four functions createLights(), createSun(), createSky(), and createWater() to…

---

## [Sky example colors after r118](https://discourse.threejs.org/t/sky-example-colors-after-r118/17088)

<div class="topic-metadata">

**Author:** [@LR17](https://discourse.threejs.org/u/LR17)\
**Replies:** 4\
**Last updated:** [January 8, 2021, 11:48pm UTC](https://discourse.threejs.org/t/sky-example-colors-after-r118/17088 "2021-01-08T23:48:53Z")

</div>

Hi, after r118 upgrade the Sky example had changed its tonemapping function from hardcoded (uncharted) to the tonemapping function configured in the renderer. The problem is that I can’t find a configuration of paramete…

---

## [EDIT: Shader only works with GUI - why?](https://discourse.threejs.org/t/edit-shader-only-works-with-gui-why/16614)

<div class="topic-metadata">

**Author:** [@Heiddo](https://discourse.threejs.org/u/Heiddo)\
**Replies:** 9\
**Last updated:** [June 29, 2020, 5:39pm UTC](https://discourse.threejs.org/t/edit-shader-only-works-with-gui-why/16614 "2020-06-29T17:39:26Z")

</div>

Old QuestionI have been trying to implement the sky shader example in my project but keep just getting a black ‘sky’. I struggled to get my local project working live anywhere - but it was based initially on this starter…

---

## [Sky.js shader example - why doesn't it use a cube map / camera?](https://discourse.threejs.org/t/sky-js-shader-example-why-doesnt-it-use-a-cube-map-camera/16602)

<div class="topic-metadata">

**Author:** [@Heiddo](https://discourse.threejs.org/u/Heiddo)\
**Replies:** 3\
**Last updated:** [June 28, 2020, 9:44am UTC](https://discourse.threejs.org/t/sky-js-shader-example-why-doesnt-it-use-a-cube-map-camera/16602 "2020-06-28T09:44:06Z")

</div>

I’m having trouble implementing Sky.js - I can see ( I think ) the environmental lighting effects on my scene successfully, but the ‘sky’ is solid black. I have been trying to study the example and source code - but I ca…

---

## [Rotate Sky Shader](https://discourse.threejs.org/t/rotate-sky-shader/14656)

<div class="topic-metadata">

**Author:** [@EvKoh](https://discourse.threejs.org/u/EvKoh)\
**Replies:** 5\
**Last updated:** [May 7, 2020, 12:03am UTC](https://discourse.threejs.org/t/rotate-sky-shader/14656 "2020-05-07T00:03:45Z")

</div>

Hello, I need your help to understand how to rotate the sky. I do not want to rotate the scene because it is too complicated for me to re-rotate each camera position in the scene. I’m putting a Gitlab link to view the…

---

## [Simulating actual Sun position](https://discourse.threejs.org/t/simulating-actual-sun-position/7959)

<div class="topic-metadata">

**Author:** [@prandam](https://discourse.threejs.org/u/prandam)\
**Replies:** 4\
**Last updated:** [September 11, 2019, 4:42am UTC](https://discourse.threejs.org/t/simulating-actual-sun-position/7959 "2019-09-11T04:42:05Z")

</div>

I need to program a simple sky map (no stars, no nothing, just the sun and the sky color) with current geo loc and time of the user (basically to generate a credible sky tone given the time of the day). A simple color or…

---

## [Simulating sun position in the sky](https://discourse.threejs.org/t/simulating-sun-position-in-the-sky/8087)

<div class="topic-metadata">

**Author:** [@prandam](https://discourse.threejs.org/u/prandam)\
**Replies:** 1\
**Last updated:** [June 14, 2019, 11:17am UTC](https://discourse.threejs.org/t/simulating-sun-position-in-the-sky/8087 "2019-06-14T11:17:39Z")

</div>

Using the WebGL shaders example I’m trying to model a sky with the current sun position in the antipode of the current location. For this I’m reading the gps location and calculating the sun position and time of the othe…

---

## [SkyShader example. How to change colors?](https://discourse.threejs.org/t/skyshader-example-how-to-change-colors/7907)

<div class="topic-metadata">

**Author:** [@Hyacinth](https://discourse.threejs.org/u/Hyacinth)\
**Replies:** 1\
**Last updated:** [June 3, 2019, 9:57pm UTC](https://discourse.threejs.org/t/skyshader-example-how-to-change-colors/7907 "2019-06-03T21:57:40Z")

</div>

I am using the sky shader shown here: https://threejs.org/examples/webgl\_shaders\_sky.html I can’t for the life of me, figure out how to change the color gradient. The golden sky is gorgeous. But I would like to be ab…
