Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_280.c
| Show First 20 Lines • Show All 1,324 Lines • ▼ Show 20 Lines | |||||
| #undef EEVEE_GET_FLOAT_ARRAY | #undef EEVEE_GET_FLOAT_ARRAY | ||||
| #undef EEVEE_GET_FLOAT | #undef EEVEE_GET_FLOAT | ||||
| #undef EEVEE_GET_INT | #undef EEVEE_GET_INT | ||||
| #undef EEVEE_GET_BOOL | #undef EEVEE_GET_BOOL | ||||
| } | } | ||||
| } | } | ||||
| if (!DNA_struct_find(fd->filesdna, "SceneLANPR")) { | |||||
| for (Scene *scene = bmain->scene.first; scene; scene = scene->id.next) { | |||||
| scene->lanpr.crease_threshold = 0.7; | |||||
| scene->lanpr.line_thickness = 1.5; | |||||
| scene->lanpr.depth_clamp = 0.001; | |||||
| scene->lanpr.depth_strength = 800; | |||||
| scene->lanpr.normal_clamp = 2; | |||||
| scene->lanpr.normal_strength = 10; | |||||
| scene->lanpr.enable_intersections = 1; | |||||
| scene->lanpr.background_color[0] = 0.76; | |||||
| scene->lanpr.background_color[1] = 0.54; | |||||
| scene->lanpr.background_color[2] = 0.29; | |||||
| scene->lanpr.background_color[3] = 1; | |||||
| scene->lanpr.line_color[0] = 0.39; | |||||
| scene->lanpr.line_color[1] = 0.12; | |||||
| scene->lanpr.line_color[2] = 0.04; | |||||
| scene->lanpr.line_color[3] = 1; | |||||
| } | |||||
| } | |||||
| if (!MAIN_VERSION_ATLEAST(bmain, 280, 15)) { | if (!MAIN_VERSION_ATLEAST(bmain, 280, 15)) { | ||||
| for (Scene *scene = bmain->scene.first; scene; scene = scene->id.next) { | for (Scene *scene = bmain->scene.first; scene; scene = scene->id.next) { | ||||
| scene->display.matcap_ssao_distance = 0.2f; | scene->display.matcap_ssao_distance = 0.2f; | ||||
| scene->display.matcap_ssao_attenuation = 1.0f; | scene->display.matcap_ssao_attenuation = 1.0f; | ||||
| scene->display.matcap_ssao_samples = 16; | scene->display.matcap_ssao_samples = 16; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 305 Lines • Show Last 20 Lines | |||||