So right now I have a script that runs a function when it hits night-time… I have no flippin idea on how I would actually get moonlight. I turned up the brightness and it does nothing at night. The game gets very dark and I have lights. I just need moonlight right now. How do I achieve this?
Change the ambient colors instead, Brightness is the brightness of the sun.
if you want to do night-time it’s super simple. you can do something like this:
while true do
wait(10) -- edit the time if you want
game.Lighting.TimeOfDay = "24:00:00" --edit the hour if you want
wait(5) -- edit the time if you want
game.Lighting.TimeOfDay = "8:00:00" --edit the hour if you want
end
this is not what he asked for. OP right now there is no moon light feature, however, you could try messing with lighting settings such as ambient
so what did he asked for I don’t understand
read the post, their game is very dark once it’s nighttime and their asking how to achieve moonlight or night not being so dark
In my opinion time of day 20:00:00 looks good
I have a little workaround which I use in my games.
I retexture the sun, and change the moon for the sun, I get a appropriate skybox to go with it, and I’m all set.
(That’s what I do when my game doesn’t have the day-night cycle.)
You could possibly try changing the Ambient and other properties in lightning.
And also, good to know this: the Brightness property isn’t capped at 10, you can go beyond 10.
So you could possibly turn up the Brightness property slowly as the night comes, so your night-time isn’t too dark, and your day-times aren’t too bright.
(Also check your monitor brightness, put it around 50%, and then mess with the brightness property in Lightning, for some people with 100% brightness monitors, your game might be too bright, and for people playing on low % brightness monitors your game might be too dark…)