Lighting issues

When in gmod server some places I look at the screen goes really dark and other places lighting goes back to normal just started happening pls help.