Lightmap ambient occlusion is now per default ENABLED for all lightmap maps (use ZDRayInfo actor to turn it off).

Lightmap bounces are now per default DISABLED for all light maps (use ZDRayInfo to turn it on).
The user can explicitly force either off by using the lm_ao or lm_bounce cvars.
This commit is contained in:
Magnus Norddahl 2025-03-23 00:30:31 +01:00
commit 1ba43909f9
2 changed files with 2 additions and 2 deletions

View file

@ -3242,7 +3242,7 @@ void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
Level->SunIntensity = gameinfo.defaultSunIntensity;
Level->LightmapSampleDistance = gameinfo.defaultLightmapSampleDistance;
Level->lightmaps = gameinfo.forceEnableLightmaps;
Level->LightBounce = true;
Level->LightBounce = false;
Level->AmbientOcclusion = true;
// note: most of this ordering is important