Change Sun Disk Texture in Atmospheric Fog

Hey,

I was just wondering if there’s a way to change the default white sun disk in Atmospheric Fog with a Star shape flared sun texture?

That Sun disk just isn’t realistic and I’ve been circumventing this problem by boosting the Sun bloom but it still shows up when the sun is at the edge of the screen.

Thanks

I am wondering too about that

It seems, there is no easy ways to change sun disk(you can actually try to rewrite sources in AtmosphereRendering.cpp). Or you can use your own skysphere blueprint.

You can disable sun disk. Also you can remove bloom effect from sun by changing altitude scale for example up to 5(I’m not sure that it’s a right solution, but it works).

It’s weird because there’s a Sun Disk Color parameter on the Directional Light under the Atmosphere and Cloud section of the details, so you’d think it would be referencing a material and you’d be able to add your own texture there. I looked at the Sky Atmosphere material, however, and there’s no Sun Disk Color there, so I have no idea what material is creating the Sun Disk. If I find it I’ll update.

In my case I was wanting to make the sun look like a moon, so the easiest workaround I could come up with was to apply a moon texture to a plane, scale it up to 300 and then place it in the sky in the approximate location of the sun disk. When you move around the world, it’s offset from the disk by a few cm, however, you can set the Atmosphere Sun Disk Color (on the directional light) to black and it makes the Sun Disk disappear, and now it looks like the light shafts are coming from the moon texture. Good enough for my situation, but not ideal since you’ll have to change the position if you adjust the light’s rotation.