Stressing game fog issue

Hello,

Ok so I got a stressing situation that I’m not sure how I’ll go about it. So basically I’m making a game inspired by the Steam horror game Death Park. The game has yellow colored fog and can only see from a certain distance, when I began on the game a few months back I tried the same thing but with the Roblox fog and it wasn’t what I wanted since you could see the objects in the background though the fog was on. I eventually came up with a solution which was combining a yellow sky and an Atmosphere in lighting and it gave the effect with also a region while wonder around in the abandoned amusement park that you’ll be exploring. I’m at the point now in my game where I’m working on the maze and now need black fog using the default built in Roblox one.

Since I have a yellow sky and Atmosphere in Lighting, the fog property in Lighting disappeared for me. I tried to turn the yellow fog effect to a black one but didn’t work and the yellow fog in the maze doesn’t feel creepy at all and can see things from far which I don’t want because then you’ll see dead ends from far away and not head there.

How the yellow fog effect looks in the maze (not creepy). You can also see at the bottom that I tried making the color black but didn’t work.

This is how I’m hoping for it to look but I now have to delete the Sky and Atmosphere which is what I don’t want to do as I’ll later need them again once you’re back outside.

I really hope this made sense to you guys, how would you recommend me to go about this? Should I tried to add a region in the maze and script it somehow to move the Sky and Atmosphere somewhere else in workspace while you’re inside it? I don’t know much of scripting so any help or suggestions would be greatly appreciated since I haven’t found any helpful sources yet!

1 Like

Disclaimer that I’m not a lighting specialist in any sense of the word.

Atmosphere is intended to blend the fog in with the sky. Perhaps you’re looking to change the Lighting properties instead so that you can get said blend? What do your lighting properties look like? You can also try playing around with the Atmosphere properties even more to see if there’s a good fit.

Atmosphere article on the Developer Hub for examples of how each property fits into creating a certain environment. None of them are quite hard descriptors like FogEnd is without the Atmosphere object, it’s mostly all blending properties that build off each other and Lighting.

On another note, if it’s too hard to blend well with Atmosphere but you need them for the outside, could you not just remove Atmosphere/Sky when you’re inside and add them back when outside? I get it’s probably more intuitive to keep the objects in and modify them to get the environment you need but you mentioned you don’t want to delete them because they’re needed outside. You could just keep them stored somewhere and parent them in/out of lighting as needed.

Like this:
image
image
image

Ooo, I had no idea that an article about that existed, I’ll make sure to check it out!

I’ll try that method and see what happens, I appreciate it :slight_smile: