Eevee: Film filter default to 1.5 instead of 1.0

Cycles already uses 1.5 as default. BI original 1.0 filter doesn't look good for
Eevee. The ideal scenario would be for both Cycles AND Eevee to use the same DNA
setting.

But for now it is nice to at least have Eevee renders to look better by default.

Note: This handles doversion for 2.7x files only. Files previously created in
2.8 need to be manually corrected.
This commit is contained in:
Dalai Felinto 2018-02-09 17:05:43 -02:00
parent 7978306cbb
commit 5216eaec1d
Notes: blender-bot 2023-02-14 11:25:11 +01:00
Referenced by issue #54041, Crash when rendering with Cycles after have rendered with Eevee
2 changed files with 5 additions and 1 deletions

View File

@ -618,7 +618,7 @@ void BKE_scene_init(Scene *sce)
*/
sce->r.color_mgt_flag |= R_COLOR_MANAGEMENT;
sce->r.gauss = 1.0;
sce->r.gauss = 1.5f;
/* deprecated but keep for upwards compat */
sce->r.postgamma = 1.0;

View File

@ -701,6 +701,10 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *main)
}
}
}
for (Scene *scene = main->scene.first; scene; scene = scene->id.next) {
scene->r.gauss = 1.5f;
}
}
if (!MAIN_VERSION_ATLEAST(main, 280, 1)) {