Why does my game look good at day, but terrible at night?

Thanks you, ill be trying this soon, but could you please tell me where I should put this script in? (Workspace, etc.)

Put it in a regular Script in ServerScriptService.

I looked at the errors and it says the “end” part at the well, end has an error. As well as the “v” right before it. I don’t know if I’m right but isn’t “end” usually “end)”

There should’ve been a second end at the end of the script; I’ve edited my original answer to include it now. I have to go to sleep now, so if it still doesn’t work and nobody else has chimed in by then I can make sure the script works properly after school.

alright, goodnight lol. thanks for the help.

Try adding a script which will add a black-colored fog when it’s night to give night time a better effect. This worked for me when I was developing my game. You can also try to change the star count via the Sky asset for Lighting as well as the hitbox.

as said in one of my previous reply’s, I feel like fog would make the game annoying to play at night. (My game is a combat game) Although since two people have suggested it I might try the fog one. And, what do you mean by “Hitbox”? skyboxes don’t have hitboxes, as far as I’m sure.

Yeah sorry, I meant skybox not hitbox lol …

That’s what i thought you meant lol. and the star count increase didn’t seem to do anything

Please, come join me in my game. I’m currently at work now, but I’ve been meticulously studying day and night lighting because of Roblox’s graphics. I’d be excited to explain everything I’ve encountered and learned over the past month.

I apologize for the edits, I’m very strict about how I communicate. Here’s the link.

https://ro.blox.com/Ebh5?pid=share&is_retargeting=true&af_dp=roblox%3A%2F%2Fnavigation%2Fgame_details%3FgameId%3D2858456904&af_web_dp=https%3A%2F%2Fwww.roblox.com%2Fgames%2F7325668143

I think I see the issue here … you have a very high contrast and saturation level, this is causing all light sources (point lights, sun, suface lights, etc.) to render darker than usual. For example, this issue is also occuring on this house in your game. Bright light source, yet still very dark.

2 Likes

my saturation is at 0.1 I believe. also, how do I see how high my contrast is?

both of them are, actually

You can see your contrast in ColorCorrectionsEffect, if you have that in Lighting.

did that and it didn’t seem to do much.

What color is your ambient lighting (ambient and outdoorambient)? I use black, and night is very dark. It looks like you are using light to medium grey.

This could also be the solution to his problem, yes. I use the “Realism Mod” plugin for my game which automatically configures the natural environment settings on player join.

do i have to make the outdoor ambient black too? it makes my game extremley dark.

@OH_202020 i use that too, with dynamic lighting on

This might seem odd but hear me out.

I wouldn’t even make it night. It is true, things look dull at night.
Instead, I would lower the brightness, play around with color correction (saturation down, brightness down, contrast up), then I would make the atmosphere properties dense, haze 10, and change the colour of the atmosphere to dark blue.
Finally, in sky, change the sun decal to a moon’s picture and you are good to go.

1 Like

Mess around with it. I went dark because my game focuses on holding a torch.

Only way to really fix the way lighting differs between devices and graphics settings, which I have yet to do, but this method here: