Fog with custom skyboxes

I’m trying to make it so that I can use the Fog properties of Lighting while having another skybox present. However, after some quick research, I found out that the Fog properties of Lighting basically disappear as soon as a custom skybox is added to Lighting (see here)
I haven’t been able to find any solutions to this problem as this is a problem with Roblox itself.

print("neighborhood")
neighborhood.Parent = lighting
lighting.Atmosphere.Haze = 10
lighting.FogEnd = 175

Does anyone know how to add fog to this skybox?

Fog and the fog properties of lighting are disabled when you have an Atmosphere in the Lighting

Do you know any workarounds to this problem?

If you must use the Fog, you’ll have to remove the Atmosphere, otherwise you’ll just have to use the Atmosphere.

And if you’re gonna go with using the atmosphere, in that script sample you provided, I recommend setting the Haze property of the atmosphere to somewhere between 2 to 4, any higher and the entire sky will just be covered by the haze.

Experiment with the Density property of the atmosphere as well, I get good results when it’s around 0.2 to 0.4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.