--[[ Some background for gaussian splats. ]] ac.setMoonEclipse(false) ac.setManualCloudsInvalidation(true) ac.setSkyUseV2(false) ac.setCloudArcMultiplier(1) ac.setFogAlgorithm(ac.FogAlgorithm.New) ac.fixSkyColorCalculateResult(false) ac.fixSkyColorCalculateOrder(false) ac.fixSkyV2Fog(false) ac.fixCloudsV2Fog(false) ac.setLambertGamma(1 / 2.2) ac.setCloudShadowMaps(false) -- Black sky ac.setSkyBrightnessMult(0) ac.setSkyStarsBrightness(0) ac.setSkyPlanetsBrightness(0) -- Disable fog ac.setFogColor(rgb()) ac.setFogExponent(1) ac.setFogDensity(0) ac.setFogDistance(100) ac.setFogHeight(0) ac.setSkyFogMultiplier(0) ac.setHorizonFogMultiplier(0, 1, 1) ac.setFogBlend(0) ac.setFogBacklitExponent(1) ac.setFogBacklitMultiplier(0) -- Ambient light ac.setAmbientColor(rgb(2.2, 2.2, 2.2)) ac.setWeatherFakeShadowOpacity(1) ac.setWeatherFakeShadowConcentration(0) ac.adjustTrackVAO(0.6, 0, 1) ac.adjustDynamicAOSamples(0.2, 0, 1) -- Directional light ac.setLightColor(rgb(0, 0, 0)) ac.setLightDirection(vec3(0, 1, 0)) ac.setSpecularColor(rgb(0, 0, 0)) ac.setSunSpecularMultiplier(1) ac.setGodraysCustomColor(rgb(0, 0, 0)) ac.setGodraysCustomDirection(vec3(0, 1, 0)) ac.setShadows(ac.ShadowsState.Off) -- Extra tweaks ac.setBrightnessMult(1) ac.setOverallSkyBrightnessMult(1) ac.setWeatherLightsMultiplier(1) ac.setTrueEmissiveMultiplier(1) ac.setGlowBrightness(1) ac.setEmissiveMultiplier(1) ac.setWeatherTrackLightsMultiplierThreshold(0) ac.setReflectionEmissiveBoost(1) ac.setReflectionsBrightness(1) function script.update(dt) end ac.onPostProcessing(function (params) params.autoExposureEnabled = false params.tonemapExposure = 1 params.tonemapFunction = ac.TonemapFunction.Linear params.tonemapGamma = 1 end)