# \#sky

**URL:** https://forum.babylonjs.com/tag/sky/32.md

[Latest](https://forum.babylonjs.com/latest.md) · [Categories](https://forum.babylonjs.com/categories.md) · [Tags](https://forum.babylonjs.com/tags.md)

---

## [Procedurally generated skybox](https://forum.babylonjs.com/t/procedurally-generated-skybox/20803)

<div class="topic-metadata">

**Author:** [@galaxyblur](https://forum.babylonjs.com/u/galaxyblur)\
**Replies:** 6\
**Last updated:** [April 22, 2025, 8:33am UTC](https://forum.babylonjs.com/t/procedurally-generated-skybox/20803 "2025-04-22T08:33:06Z")

</div>

Hi, and thanks in advance for your help. I’m still on the hunt to create a procedurally generated skybox – particularly of outer space. I’ve explored a lot options over the past few days but nothing seems to fit just ri…

---

## [SkyMaterial luminance before sunrise/after sunset](https://forum.babylonjs.com/t/skymaterial-luminance-before-sunrise-after-sunset/53238)

<div class="topic-metadata">

**Author:** [@alekop](https://forum.babylonjs.com/u/alekop)\
**Replies:** 4\
**Last updated:** [September 15, 2024, 11:22am UTC](https://forum.babylonjs.com/t/skymaterial-luminance-before-sunrise-after-sunset/53238 "2024-09-15T11:22:49Z")

</div>

The SkyMaterial turns black before sunrise and after sunset (when inclination=0.5/-0.5). In reality, the sky begins to lighten before sunrise, and remains lit after sunset. Is there a way to achieve this effect? PG: htt…

---

## [Skyboxes with high-res textures](https://forum.babylonjs.com/t/skyboxes-with-high-res-textures/48087)

<div class="topic-metadata">

**Author:** [@HowdyLuda](https://forum.babylonjs.com/u/HowdyLuda)\
**Replies:** 4\
**Last updated:** [February 22, 2024, 11:43pm UTC](https://forum.babylonjs.com/t/skyboxes-with-high-res-textures/48087 "2024-02-22T23:43:36Z")

</div>

Hello, I’ve been working on creating beautiful skyboxes in my game, and I’m hoping that the skybox texture will double as the IBL environment texture for simplicity and resource savings. I’m also using the Babylon IBL …

---

## [Pixelart Skybox but CubeTexture is making things fuzzy](https://forum.babylonjs.com/t/pixelart-skybox-but-cubetexture-is-making-things-fuzzy/46909)

<div class="topic-metadata">

**Author:** [@arbraini](https://forum.babylonjs.com/u/arbraini)\
**Replies:** 3\
**Last updated:** [January 3, 2024, 11:12am UTC](https://forum.babylonjs.com/t/pixelart-skybox-but-cubetexture-is-making-things-fuzzy/46909 "2024-01-03T11:12:44Z")

</div>

I’m trying to make a pixel art style sky using a small texture with CubeTexture. I have a seamless cube with the 6 images for the Cube Texture and it loads well but the texture seems to have the default Bilinear samples…

---

## [Seeking Advanced Day and Night Cycle Example](https://forum.babylonjs.com/t/seeking-advanced-day-and-night-cycle-example/45213)

<div class="topic-metadata">

**Author:** [@ertugrulcetin](https://forum.babylonjs.com/u/ertugrulcetin)\
**Replies:** 4\
**Last updated:** [October 26, 2023, 7:51pm UTC](https://forum.babylonjs.com/t/seeking-advanced-day-and-night-cycle-example/45213 "2023-10-26T19:51:12Z")

</div>

Hi all, I’m looking for a comprehensive example of a day and night cycle in BabylonJS, beyond basic official documentation. Specifically interested in a near-production-ready model where the sun rises and sets, and the s…

---

## [SkyMaterial doesn't work with plugins](https://forum.babylonjs.com/t/skymaterial-doesnt-work-with-plugins/36476)

<div class="topic-metadata">

**Author:** [@tim-voxels](https://forum.babylonjs.com/u/tim-voxels)\
**Replies:** 6\
**Last updated:** [December 13, 2022, 12:22am UTC](https://forum.babylonjs.com/t/skymaterial-doesnt-work-with-plugins/36476 "2022-12-13T00:22:30Z")

</div>

The following playground shows the issue: https://playground.babylonjs.com/#GC63G5#50 Both cubes have a plugin applied that should redden them via CUSTOM\_FRAGMENT\_MAIN\_END (set R component to 1.0). The cube on the right…

---

## [HDR environment from skymaterial](https://forum.babylonjs.com/t/hdr-environment-from-skymaterial/33781)

<div class="topic-metadata">

**Author:** [@MichalZr](https://forum.babylonjs.com/u/MichalZr)\
**Replies:** 1\
**Last updated:** [September 8, 2022, 4:58pm UTC](https://forum.babylonjs.com/t/hdr-environment-from-skymaterial/33781 "2022-09-08T16:58:10Z")

</div>

Hello, I was wondering whether it’s possible to use sky material to generate a HDR environment for image based lighting? Right now it can be used to create a reflection texture, but it’s not quite the same thing. I th…

---

## [How can i apply image to the button created through script and how apply custom sky box](https://forum.babylonjs.com/t/how-can-i-apply-image-to-the-button-created-through-script-and-how-apply-custom-sky-box/30270)

<div class="topic-metadata">

**Author:** [@Ashish\_Abhiwan](https://forum.babylonjs.com/u/Ashish_Abhiwan)\
**Replies:** 8\
**Last updated:** [May 11, 2022, 4:42pm UTC](https://forum.babylonjs.com/t/how-can-i-apply-image-to-the-button-created-through-script-and-how-apply-custom-sky-box/30270 "2022-05-11T16:42:38Z")

</div>

i havew created buton throuch script and want to give an image to it and if i go the edit option and make changes and come back and click on play then the ui gets back to the same as the old and i also want to apply a cu…

---

## [Partially transparent cubetexture for skybox](https://forum.babylonjs.com/t/partially-transparent-cubetexture-for-skybox/24770)

<div class="topic-metadata">

**Author:** [@andreasplesch](https://forum.babylonjs.com/u/andreasplesch)\
**Replies:** 6\
**Last updated:** [October 27, 2021, 2:37am UTC](https://forum.babylonjs.com/t/partially-transparent-cubetexture-for-skybox/24770 "2021-10-27T02:37:00Z")

</div>

In order to show a fallback sky behind a textured skybox, I would like to make portions of a skybox transparent by assigning a transparent texture to specific faces of a cubetexture: https://playground.babylonjs.com/#UU…

---

## [Skybox texture is not displayed](https://forum.babylonjs.com/t/skybox-texture-is-not-displayed/23970)

<div class="topic-metadata">

**Author:** [@dnosur](https://forum.babylonjs.com/u/dnosur)\
**Replies:** 9\
**Last updated:** [September 21, 2021, 9:02pm UTC](https://forum.babylonjs.com/t/skybox-texture-is-not-displayed/23970 "2021-09-21T21:02:56Z")

</div>

I just started learning Babylon JS and I ran into a problem. While studying this example(https://playground.babylonjs.com/#1SLLOJ#17), I noticed that the texture applied to the skybox is not displayed. I get an empty bla…

---

## [ShaderMaterial + Skybox mapping coordinates](https://forum.babylonjs.com/t/shadermaterial-skybox-mapping-coordinates/20749)

<div class="topic-metadata">

**Author:** [@galaxyblur](https://forum.babylonjs.com/u/galaxyblur)\
**Replies:** 3\
**Last updated:** [May 12, 2021, 2:10pm UTC](https://forum.babylonjs.com/t/shadermaterial-skybox-mapping-coordinates/20749 "2021-05-12T14:10:12Z")

</div>

Hi, I am using Babylon.js to build a space scene, and have been successful so far in using a pre-rendered skybox texture full of stars, nebulae, etc. I am interested in generating this dynamically using a shader, if pos…

---

## [Is there a way to get different LOD cubeTextures from a .env file?](https://forum.babylonjs.com/t/is-there-a-way-to-get-different-lod-cubetextures-from-a-env-file/19035)

<div class="topic-metadata">

**Author:** [@jekelija](https://forum.babylonjs.com/u/jekelija)\
**Replies:** 6\
**Last updated:** [March 9, 2021, 6:18pm UTC](https://forum.babylonjs.com/t/is-there-a-way-to-get-different-lod-cubetextures-from-a-env-file/19035 "2021-03-09T18:18:15Z")

</div>

We have a custom shader that uses different LOD cubetextures to handle roughness and reflections. I am attempting to use a .env file, which i believe has stuff baked in that works for different LODs inside of babylonjs s…

---

## [Is SkyMaterial a pbr material? (trying to let stars through black area in sky)](https://forum.babylonjs.com/t/is-skymaterial-a-pbr-material-trying-to-let-stars-through-black-area-in-sky/14571)

<div class="topic-metadata">

**Author:** [@James\_Scheibel](https://forum.babylonjs.com/u/James_Scheibel)\
**Replies:** 19\
**Last updated:** [October 14, 2020, 11:34pm UTC](https://forum.babylonjs.com/t/is-skymaterial-a-pbr-material-trying-to-let-stars-through-black-area-in-sky/14571 "2020-10-14T23:34:16Z")

</div>

hi, I’ve been working on sun (s) /moon(s) and stars for a game i’m making. I found the skymaterial and while it has all the bells and whistles i could ever want it doesn’t seem to obey the transparencyMode setting (examp…

---

## [Skybox with two cameras](https://forum.babylonjs.com/t/skybox-with-two-cameras/13232)

<div class="topic-metadata">

**Author:** [@Ankit\_Singh](https://forum.babylonjs.com/u/Ankit_Singh)\
**Replies:** 2\
**Last updated:** [August 10, 2020, 2:14am UTC](https://forum.babylonjs.com/t/skybox-with-two-cameras/13232 "2020-08-10T02:14:12Z")

</div>

Hello Folks, I have two cameras in the scene for cinematics and gameplay. I want to have different maxZ for both. I scaled down the skybox so it will be not be culled by far plane and also set renderingGroupID to 0 so i…

---

## [Update SkyMaterial shader?](https://forum.babylonjs.com/t/update-skymaterial-shader/12003)

<div class="topic-metadata">

**Author:** [@inteja](https://forum.babylonjs.com/u/inteja)\
**Replies:** 2\
**Last updated:** [June 26, 2020, 10:11pm UTC](https://forum.babylonjs.com/t/update-skymaterial-shader/12003 "2020-06-26T22:11:22Z")

</div>

I just wanted to resurrect this discussion from the old forum: I changed the filtering of the input texture to LINEAR\_NEAREST and that resolved the original poster’s reported “line artifacts”. See https://www.babylo…
