Fix: EEVEE-Next: Versioning older file to remove indirect volume light

Make sure older file have indirect volume lighting disabled to
avoid this new feature washing out the volume object lighting.
This commit is contained in:
Clément Foucault
2024-05-29 16:19:32 +02:00
parent 4ab652256d
commit 32259aa0b6

View File

@@ -3334,6 +3334,9 @@ void blo_do_versions_400(FileData *fd, Library * /*lib*/, Main *bmain)
LISTBASE_FOREACH (Scene *, scene, &bmain->scenes) {
scene->eevee.clamp_surface_indirect = 10.0f;
/* Make contribution of indirect lighting very small (but non-null) to avoid world lighting
* and volume lightprobe changing the appearance of volume objects. */
scene->eevee.clamp_surface_indirect = 1e-8f;
}
}