# How do I create a custom sun disk for my skydome or integrate the atmospheric fog sun disk with my skydome?

**URL:** <https://forums.unrealengine.com/t/how-do-i-create-a-custom-sun-disk-for-my-skydome-or-integrate-the-atmospheric-fog-sun-disk-with-my-skydome/287843>\
**Category:** Rendering\
**Tags:** Sky, light, sun, unreal-engine, question\
**Created:** [July 10, 2014, 2:24pm UTC](https://forums.unrealengine.com/t/how-do-i-create-a-custom-sun-disk-for-my-skydome-or-integrate-the-atmospheric-fog-sun-disk-with-my-skydome/287843 "2014-07-10T14:24:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgonik\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dgonik\_1](https://forums.unrealengine.com/u/dgonik_1)\
**Post date:** [July 10, 2014, 2:24pm UTC](https://forums.unrealengine.com/t/how-do-i-create-a-custom-sun-disk-for-my-skydome-or-integrate-the-atmospheric-fog-sun-disk-with-my-skydome/287843/1 "2014-07-10T14:24:40Z")

</div>

Hey there,

Branch: Binary

Build Version: 4.2.1-2101290

Repro Steps: I’ve created a skydome in 3ds max and imported it as an fbx. I’ve also created a few textures with masks in photoshop (one texture with three cloud masks (red/green/blue), one with three for masks and one with a star/horizon and vista mask.) Combining them all together I got the result I wanted. Almost. I can’t make the sun disk appear on the skydome’s surface the same way I did in UDK (which was setting the material to mlm\_customlighting and making sure the skydome accepted the directional light via the lighting channels, none of the options of which I could find in unreal engine 4) I still create my sun disk in the same way, save for plugging it to custom lighting I plug it to the emissive socket. I use a dot product which I split between a cameravectorws node and a lightvector. However the engine tells me that the light vector node can only be used on light function materials. After setting the material to light function it becomes extremely bright. I don’t know what to do, I want a sun disk that follows the directional light and is projected onto my skydome.

I also understand there’s such a thing as atmospheric fog with an already modifiable sundisk. However the sundisk is blocked behind my skydome together with the rest of the atmospheric fog. So if there’s any way to integrate the atmospheric fog with the skydome, that would be awesome as well.

Thank you in advance!

- dgonik

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3eecb31b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3eecb31b](https://forums.unrealengine.com/u/anonymous_user_3eecb31b)\
**Post date:** [June 21, 2016, 2:05pm UTC](https://forums.unrealengine.com/t/how-do-i-create-a-custom-sun-disk-for-my-skydome-or-integrate-the-atmospheric-fog-sun-disk-with-my-skydome/287843/2 "2016-06-21T14:05:52Z")

</div>

idk ya idk

---

<div class="post-metadata">

**Author:** ![00k](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@00k](https://forums.unrealengine.com/u/00k)\
**Post date:** [October 3, 2017, 8:59pm UTC](https://forums.unrealengine.com/t/how-do-i-create-a-custom-sun-disk-for-my-skydome-or-integrate-the-atmospheric-fog-sun-disk-with-my-skydome/287843/3 "2017-10-03T20:59:45Z")

</div>

I’m having the same issue where my sky dome blocks the sun disc created by atmospheric fog. Did you ever solve this?

---

<div class="post-metadata">

**Author:** ![KingMango1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KingMango1](https://forums.unrealengine.com/u/KingMango1)\
**Post date:** [December 15, 2018, 7:54pm UTC](https://forums.unrealengine.com/t/how-do-i-create-a-custom-sun-disk-for-my-skydome-or-integrate-the-atmospheric-fog-sun-disk-with-my-skydome/287843/4 "2018-12-15T19:54:53Z")

</div>

If you just want the default sun disc, scale your custom skydome up until the disc appears. The disc is part of the atmospheric fog actor and if your dome is too small it will block the disc from appearing.  
If you want to create a disc ON your custom skydome, I can not help you. That is what I am here trying to figure out at the moment.

---

<div class="post-metadata">

**Author:** ![GGUMINGUUU](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GGUMINGUUU](https://forums.unrealengine.com/u/GGUMINGUUU)\
**Post date:** [February 14, 2023, 4:44am UTC](https://forums.unrealengine.com/t/how-do-i-create-a-custom-sun-disk-for-my-skydome-or-integrate-the-atmospheric-fog-sun-disk-with-my-skydome/287843/5 "2023-02-14T04:44:15Z")

</div>

here it is , coming soon in unreal marketplace all you need is a texture or flpbook

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/2/b/72bad20ba5c8d2d2d708e86c28bd6b9810fd68d9.jpeg "trail-unreal-material-(project along directional light)-success!") ](https://www.youtube.com/watch?v=tuMmwyj1JeE)
