So im making night vision for my game only problem is theres a day and night cycle so if i was to change the lighting on the night vision how would i revert it back to the current lighting
1 Like
Make the night vision effect client side, and let the day-night cycle run server side. On client side, after a certain threshold in time, increase game.Lighting.Brightness
, and then set it to the default at day time.
If you want the classic green effect, I would change the Ambient, OutdoorAmbient, and FogColor settings in the properties under Lighting to light green
Make like a tool and when its equipped the timeofday will change to day for the local player