Skip to content

Commit 050c290

Browse files
committed
Fixed crash when trying to open options
Increased available shadow map resolution values
1 parent 7cd6f8f commit 050c290

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Layers/xrRender/xrRender_console.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,17 @@ const xr_token qsmapsize_token[] =
2222
{ "3072", 3072 },
2323
{ "3584", 3584 },
2424
{ "4096", 4096 },
25+
{ "5120", 5120 },
2526
{ "6144", 6144 },
27+
{ "7168", 7168 },
2628
{ "8192", 8192 },
29+
{ "9216", 9216 },
2730
{ "10240", 10240 },
31+
{ "11264", 11264 },
2832
{ "12288", 12288 },
33+
{ "13312", 13312 },
2934
{ "14336", 14336 },
35+
{ "15360", 15360 },
3036
{ "16384", 16384 },
3137
{ nullptr, 0 }
3238
};
@@ -912,7 +918,7 @@ void xrRender_initconsole()
912918
CMD3(CCC_Mask, "r3_dynamic_wet_surfaces", &ps_r2_ls_flags, R3FLAG_DYN_WET_SURF);
913919
CMD4(CCC_Integer, "r3_dynamic_wet_surfaces_opt", &ps_r3_dyn_wet_surf_opt, 0, 1);
914920
CMD4(CCC_Float, "r3_dynamic_wet_surfaces_near", &ps_r3_dyn_wet_surf_near, 5, 70);
915-
CMD4(CCC_Float, "r3_dynamic_wet_surfaces_far", &ps_r3_dyn_wet_surf_far, 30, 100);
921+
CMD4(CCC_Float, "r3_dynamic_wet_surfaces_far", &ps_r3_dyn_wet_surf_far, 20, 100);
916922
CMD4(CCC_Integer, "r3_dynamic_wet_surfaces_sm_res", &ps_r3_dyn_wet_surf_sm_res, 64, 2048);
917923

918924
CMD3(CCC_Mask, "r3_volumetric_smoke", &ps_r2_ls_flags, R3FLAG_VOLUMETRIC_SMOKE);

0 commit comments

Comments
 (0)