Commit 8104dac5 authored by Harmonikater's avatar Harmonikater
Browse files

Update scripts/bf2/Statics/auto_lm.ms

parent ab6e993c
Pipeline #7371 passed with stage
in 27 seconds
......@@ -310,23 +310,23 @@ fn auto_lightmap_render_terrain mapFolder =
if size == 512 then
(
g_bf2_lightMappingPatches = 16
g_bf2_lightMappingPatchSize = 512
g_bf2_lightMappingPatchSize = 512 * 2
)
else (if size == 1024 then
(
g_bf2_lightMappingPatches = 16
g_bf2_lightMappingPatchSize = 1024
g_bf2_lightMappingPatchSize = 1024 * 2
)
else (if size == 2048 then
(
g_bf2_lightMappingPatches = 64
g_bf2_lightMappingPatchSize = 1024
g_bf2_lightMappingPatchSize = 1024 * 2
)
else (if size == 4096 then
(
g_bf2_lightMappingPatches = 64
g_bf2_lightMappingPatchSize = 2048
g_bf2_lightMappingPatchSize = 2048 * 2
))))
saveLMSetting "g_bf2_lightMappingPatches" g_bf2_lightMappingPatches
saveLMSetting "g_bf2_lightMappingPatchSize" g_bf2_lightMappingPatchSize
......@@ -394,4 +394,4 @@ fn auto_lightmap mapFolder =
auto_lightmap_render_obj mapFolder
auto_lightmap_render_terrain mapFolder
LM_log ("Auto-Lightmapped " + mapFolder)
)
\ No newline at end of file
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment