• mat_fullbright is stuck on 0.
    12 replies, posted
I coded a map (It's a Portal 2 map), and the lights sucks at it, they are not natural at all and everything is bright as hell. I tried using mat_fullbright 0 but it stays at 1. What's the problem? -I did make a light in my map but still nothing.
Have you got a light_environment entity in your map?
I don't think so, only light.
You need at least one light entity in the map for light to render.
[QUOTE=IronPhoenix;35175043]You need at least one light entity in the map for light to render.[/QUOTE] I have one.
Then you might have a leak, post the compile log.
------------------------------------------------------------------------------- Running command: cd "c:\program files (x86)\steam\steamapps\common\portal 2\bin" ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Running command: "c:\program files (x86)\steam\steamapps\common\portal 2\bin\vbs p.exe" -game "c:\program files (x86)\steam\steamapps\common\portal 2\portal2" "C :\Program Files (x86)\Steam\steamapps\common\portal 2\sdk_content\maps\level4adv anced.vmf" ------------------------------------------------------------------------------- Valve Software - vbsp.exe (Sep 30 2011) 4 threads materialPath: c:\program files (x86)\steam\steamapps\common\portal 2\portal2\mat erials Loading C:\Program Files (x86)\Steam\steamapps\common\portal 2\sdk_content\maps\ level4advanced.vmf ConVarRef gpu_level doesn't point to an existing ConVar fixing up env_cubemap materials on brush sides... ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0) **** leaked **** Entity light (490.00 -161.00 24.00) leaked! Processing areas...done (0) Building Faces...done (0) Chop Details...done (0) Find Visible Detail Sides... Merged 152 detail faces...done (0) Merging details...done (0) FixTjuncs... PruneNodes... WriteBSP... done (0) 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) (142313 bytes) Placing detail props : 0...1...2...3...4...5...6...7...8...9...10 Compacting texture/material tables... Reduced 1128 texinfos to 357 Reduced 54 texdatas to 47 (1867 bytes to 1646) Writing C:\Program Files (x86)\Steam\steamapps\common\portal 2\sdk_content\maps\ level4advanced.bsp 0 seconds elapsed ------------------------------------------------------------------------------- Running command: cd "c:\program files (x86)\steam\steamapps\common\portal 2\bin" ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Running command: "c:\program files (x86)\steam\steamapps\common\portal 2\bin\vvi s.exe" -game "c:\program files (x86)\steam\steamapps\common\portal 2\portal2" "C :\Program Files (x86)\Steam\steamapps\common\portal 2\sdk_content\maps\level4adv anced" ------------------------------------------------------------------------------- Valve Software - vvis.exe (Sep 30 2011) 4 threads reading c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\ level4advanced.bsp reading c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\ level4advanced.prt LoadPortals: couldn't read c:\program files (x86)\steam\steamapps\common\portal 2\sdk_content\maps\level4advanced.prt Finished. Press a key to close.
Entity light (490.00 -161.00 24.00) leaked! So...the map must be surrounded by solid world brushes, not entities, water or displacements. You also need to be running vrad.
[QUOTE=IronPhoenix;35175423]Entity light (490.00 -161.00 24.00) leaked! So...the map must be surrounded by solid world brushes, not entities, water or displacements. You also need to be running vrad.[/QUOTE] A billion thanks to you, my map looks wonderful now.
[QUOTE=NoamGM;35175545]A billion thanks to you, my map looks wonderful now.[/QUOTE] it's amazing what one light can do :D
[QUOTE=NoamGM;35174821][b]I coded a map[/b] (It's a Portal 2 map), and the lights sucks at it, they are not natural at all and everything is bright as hell. I tried using mat_fullbright 0 but it stays at 1. What's the problem? -I did make a light in my map but still nothing.[/QUOTE] Also, you don't "code" maps.
[QUOTE=All0utWar;35176747]Also, you don't "code" maps.[/QUOTE] You don't but you can. [quote]versioninfo { "editorversion" "400" "editorbuild" "5439" "mapversion" "1" "formatversion" "100" "prefab" "0" } visgroups { } viewsettings { "bSnapToGrid" "1" "bShowGrid" "1" "bShowLogicalGrid" "0" "nGridSpacing" "1" "bShow3DGrid" "0" } world { "id" "1" "mapversion" "1" "classname" "worldspawn" "skyname" "sky_day01_01" "maxpropscreenwidth" "-1" "detailvbsp" "detail.vbsp" "detailmaterial" "detail/detailsprites" solid { "id" "2" side { "id" "1" "plane" "(-373 719 0) (-581 581 0) (-719 373 0)" "material" "TOOLS/TOOLSNODRAW" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 -1 0 0] 0.25" "rotation" "0" "lightmapscale" "16" "smoothing_groups" "0" } side { "id" "2" "plane" "(-128 768 32) (117 719 32) (325 581 32)" "material" "NATURE/MUDFLOOR06A" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 -1 0 0] 0.25" "rotation" "0" "lightmapscale" "16" "smoothing_groups" "0" } side { "id" "3" "plane" "(-128 768 0) (117 719 0) (117 719 32)" "material" "TOOLS/TOOLSNODRAW" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" "rotation" "0" "lightmapscale" "16" "smoothing_groups" "0" } side { "id" "4" "plane" "(117 719 0) (325 581 0) (325 581 32)" "material" "TOOLS/TOOLSNODRAW" "uaxis" "[1 0 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" "rotation" "0" "lightmapscale" "16" "smoothing_groups" "0" } side { "id" "5" "plane" "(325 581 0) (463 373 0) (463 373 32)" "material" "TOOLS/TOOLSNODRAW" "uaxis" "[0 1 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" "rotation" "0" "lightmapscale" "16" "smoothing_groups" "0" } side { "id" "6" "plane" "(463 373 0) (512 128 0) (512 128 32)" "material" "TOOLS/TOOLSNODRAW" "uaxis" "[0 1 0 0] 0.25" "vaxis" "[0 0 -1 0] 0.25" "rotation" "0" "lightmapscale" "16" "smoothing_groups" "0" }[/quote]
[QUOTE=IronPhoenix;35175423]Entity light (490.00 -161.00 24.00) leaked! So...the map must be surrounded by solid world brushes, not entities, water or displacements. You also need to be running vrad.[/QUOTE] Thanks for shedding some light on the situation.
Sorry, you need to Log In to post a reply to this thread.