Final Compilation Changes Lighting

Dense_Electric

L1: Registered
Oct 29, 2010
22
14
I'm working on a TF2 map and have gotten it to the point where I'm ready to playtest it, and the lighting looks pretty good. But when I run the final compiler, I find that it drastically increases the brightness on all the lights (especially the light_envrionment entity) and makes it downright painful to look at. Help?

The parameters I'm using are as follows:

$bsp_exe -game $gamedir $path\$file
$vis_exe -game $gamedir $path\$file
$light_exe -both -final -game $gamedir $path\$file
Copy File $path\$file.bsp $bspdir\$file.bsp
$game_exe -dev -console -allowdebug -game $gamedir +map $file
 

lana

Currently On: ?????
aa
Sep 28, 2009
3,075
2,778
Do you have a tonemap_controller in your map?
 

Dense_Electric

L1: Registered
Oct 29, 2010
22
14
is this your first time compiling in HDR?

Yup. ;) I must admit I've been pretty lazy with my mapping up until this point, figured it was time to fix that.

Do you have a tonemap_controller in your map?

I did put one in, but the only option I saw was "Name," and figured something was messed up there. I can't remember if I actually tired a full compile with that though, lemme go check.

EDIT: This is strange - it looks nice and pretty now, but I'm gonna guess it's becuase of the big glaring "Vrad performed and illegal operation and must be shut down" notice I got. I doubt somehow that the function of the tonemap_controller is to shut down vrad.
 
Last edited:

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,696
2,580
I did put one in, but the only option I saw was "Name," and figured something was messed up there. I can't remember if I actually tired a full compile with that though, lemme go check.

You need a logic_auto to actually set its values. See this page for basic instructions on how it works.
 

Dense_Electric

L1: Registered
Oct 29, 2010
22
14
Alright, I did try that, but vrad is still crashing after compilation (though the maps still runs without HDR lighting). Ideas?

EDIT: Problem resolved, thanks for all the support! Hopefully I'll be able to get a slot on the next gameday.
 
Last edited: