function SetEnvironment() local sunDirection = Vec(-1, 1, 0) local sunColor = Vec(0.2, 0.2, 0.2) local sunW = 0.3 local ambientSHR = Vec(0.01, 0.01, 0.01) local ambientSHG = ambientSHR local ambientSHB = ambientSHR local ambientSHW = Vec(0.2, 0.2, 0.2) DWEngine.SetSunEnvironment(sunDirection, sunColor, sunW, ambientSHR, ambientSHG, ambientSHB, ambientSHW) end DWEngine.ResetEngine() SetEnvironment() --DWEngine.Login("c", "c") gui.StartLauncher()