Lighting in maps: how to turn off mat_fullbright 1?

  • If you're asking a question make sure to set the thread type to be a question!

MrFlovi

L2: Junior Member
Jan 2, 2019
65
0
Ok so yesterday as I was working on my map I tried to run some tests with lighting, but when I run the map via Hammer, the lighting didn't show up, since mat_fullbright is on 1. I can't seem to turn it off, even when I go to sv_cheats 1. Then I made a new map with just a box and in the middle one normal 'light' entity and a spawn. mat_fullbright was still on 1 and I couldn't turn it off. Any help?

Compile log ("Kan procedure niet vinden" means "Can't find procedure"):

** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting test.vmf"

Valve Software - vbsp.exe (Aug 2 2018)
8 threads
materialPath: D:\Steam\steamapps\common\Team Fortress 2\tf\materials
Loading C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting test.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting test.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (0) (2393 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 3 texinfos to 3
Reduced 1 texdatas to 1 (25 bytes to 25)
Writing C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting test.bsp
ZIP Output overshot buffer estimate: Estimated 0, actual 54
0 seconds elapsed

** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting test"

vvis launcher error: can't load vvis_dll.dll
Kan opgegeven procedure niet vinden.


** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting test"

vrad_launcher error: can't load vrad_dll.dll
Kan opgegeven procedure niet vinden.


** Executing...
** Command: Copy File
** Parameters: "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting test.bsp" "D:\Steam\steamapps\common\Team Fortress 2\tf\maps\lighting test.bsp"


** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\hl2.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" -windowed -h 1080 -w 1920 -novid +map "lighting test" -steam
 

Narpas

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
Can you turn it off by entering mat_fullbright 0 into the console? (If that doesn't work, you can also try mat_fullbright 2 to see if that does anything)
 

MrFlovi

L2: Junior Member
Jan 2, 2019
65
0
Can you turn it off by entering mat_fullbright 0 into the console? (If that doesn't work, you can also try mat_fullbright 2 to see if that does anything)
Nope, I tried to do it with sv_cheats 1 and then tried both mat_fullbright 0 and 2. Or do you mean the launch options?
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,297
974
vvis launcher error: can't load vvis_dll.dll

vrad_launcher error: can't load vrad_dll.dll

Something appears to be killing parts of the compile. You'll need to fix whatever is causing these for lighting to work properly
 

henke37

aa
Sep 23, 2011
2,075
515
It's a common error. You need to install the visual studio redistributables. You haven't been using enough software (such as games) for them to be installed, go install them manually. There are a few variants, but you might as well get it over with and install them all.
 

MrFlovi

L2: Junior Member
Jan 2, 2019
65
0
It's a common error. You need to install the visual studio redistributables. You haven't been using enough software (such as games) for them to be installed, go install them manually. There are a few variants, but you might as well get it over with and install them all.
Where and what do I install?
 

Werewolf

Probably not a real Werewolf
aa
Apr 12, 2011
873
309
From the log, it looks like the map has a space in its name, could try replacing it with an underscore?
Based on your replies, it looks like you haven't attempted this.

Open your map and click "Save As", and name your file as "lighting_test"(.vmf) not "lighting test"(.vmf)

Spaces in file names mess up how the computer reads instructions as it's basically looking for a file called "lighting" then trying to run a command called "test" which it doesn't understand, instead of looking for the file called "lighting_test"
 

MrFlovi

L2: Junior Member
Jan 2, 2019
65
0
Based on your replies, it looks like you haven't attempted this.

Open your map and click "Save As", and name your file as "lighting_test"(.vmf) not "lighting test"(.vmf)

Spaces in file names mess up how the computer reads instructions as it's basically looking for a file called "lighting" then trying to run a command called "test" which it doesn't understand, instead of looking for the file called "lighting_test"
I forgot to mention that I fixed that as well. Don't worry. :)

Try restarting after installing those things, if you haven't done so already.
Do I just need to restart my computer?
 

MrFlovi

L2: Junior Member
Jan 2, 2019
65
0
Compile log (Kan opgegeven procedure niet vinden = Can't find procedure):

** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test.vmf"

Valve Software - vbsp.exe (Aug 2 2018)
8 threads
materialPath: D:\Steam\steamapps\common\Team Fortress 2\tf\materials
Loading C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (0) (2393 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 3 texinfos to 3
Reduced 1 texdatas to 1 (25 bytes to 25)
Writing C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test.bsp
ZIP Output overshot buffer estimate: Estimated 0, actual 54
0 seconds elapsed

** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test"

vvis launcher error: can't load vvis_dll.dll
Kan opgegeven procedure niet vinden.


** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test"

vrad_launcher error: can't load vrad_dll.dll
Kan opgegeven procedure niet vinden.


** Executing...
** Command: Copy File
** Parameters: "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test.bsp" "D:\Steam\steamapps\common\Team Fortress 2\tf\maps\lighting_test.bsp"


** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\hl2.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" -windowed -h 1080 -w 1920 -novid +map "lighting_test" -steam
 

Attachments

  • lighting_test.bsp
    10.2 KB · Views: 175

MrFlovi

L2: Junior Member
Jan 2, 2019
65
0
It fixed something, but not what we wanted I suppose.

Compile log (Kan opgegeven procedure niet vinden = Can't find procedure):

** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\bin\vbsp.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test.vmf"

Valve Software - vbsp.exe (Aug 2 2018)
8 threads
materialPath: D:\Steam\steamapps\common\Team Fortress 2\tf\materials
Loading C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test.vmf
fixing up env_cubemap materials on brush sides...
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0)
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
writing C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test.prt...Building visibility clusters...
done (0)
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
*** Error: Skybox vtf files for skybox/sky_tf2_04 weren't compiled with the same size texture and/or same flags!
Can't load skybox file skybox/sky_tf2_04 to build the default cubemap!
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (0) (2393 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 3 texinfos to 3
Reduced 1 texdatas to 1 (25 bytes to 25)
Writing C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test.bsp
ZIP Output overshot buffer estimate: Estimated 0, actual 54
0 seconds elapsed

** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\bin\vvis.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test"

vvis launcher error: can't load vvis_dll.dll
Kan opgegeven procedure niet vinden.


** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\bin\vrad.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test"

vrad_launcher error: can't load vrad_dll.dll
Kan opgegeven procedure niet vinden.


** Executing...
** Command: Copy File
** Parameters: "C:\Users\C. Ros\Desktop\semaG\Hammer maps\lighting_test.bsp" "D:\Steam\steamapps\common\Team Fortress 2\tf\maps\lighting_test.bsp"


** Executing...
** Command: "D:\Steam\steamapps\common\Team Fortress 2\hl2.exe"
** Parameters: -game "D:\Steam\steamapps\common\Team Fortress 2\tf" -windowed -h 1080 -w 1920 -novid +map "lighting_test" -steam
 

henke37

aa
Sep 23, 2011
2,075
515
If the tools fail to load, then map won't matter. If installing the redistributable isn't enough, then it's time to bring out the big guns.

Say hello to Process Monitor. This tool will log everything. Or more specifically, it will log all file system and registery accesses made on the computer. If this can't locate the file that's missing, then you aren't using it correctly.

Here is what you need to do: filter out all the stuff that's normal. Wipe the log. Build the map. Find the line where a dll can't be found. Report the filename here.
 

MrFlovi

L2: Junior Member
Jan 2, 2019
65
0
If the tools fail to load, then map won't matter. If installing the redistributable isn't enough, then it's time to bring out the big guns.

Say hello to Process Monitor. This tool will log everything. Or more specifically, it will log all file system and registery accesses made on the computer. If this can't locate the file that's missing, then you aren't using it correctly.

Here is what you need to do: filter out all the stuff that's normal. Wipe the log. Build the map. Find the line where a dll can't be found. Report the filename here.
Does that mean I start the program, run hammer at the same time, and then exclude everything except hammer.exe?
Also what line do I need to find, I'm not familiar with this program whatsoever and Google doesn't seem to be very helpful (to me). Also I am so pleased with the friendly helpful community here, holy crap! :)
 

henke37

aa
Sep 23, 2011
2,075
515
Does that mean I start the program, run hammer at the same time, and then exclude everything except hammer.exe?
Also what line do I need to find, I'm not familiar with this program whatsoever and Google doesn't seem to be very helpful (to me). Also I am so pleased with the friendly helpful community here, holy crap! :)
Mostly. But it's not hammer.exe that is failing here. It's vvis.exe and vrad.exe.

What line indeed. Look for a line where it tries to open a dll file, but fails. It should be looking in several spots, so there will be one failure for each spot it looks in.