Deactivate all lights

Avatar
BlumCoLe
211 Posts
Posted Feb 25, 2013
Hey all,

sorry for the newbie question. :/
I need a command to deactivate all lights ingame, because i want to make screenshots from the portals und need the absolutly darkness for a black backround.

Is it possible without creating a new test map with hammer editor?

Thanks

Advertisement
Registered users don’t see ads! Register now!
Avatar
Lpfreaky90
2,842 Posts
Posted Feb 25, 2013
Replied 23 minutes later
no; this is impossible. Lights are calculated during the render in the source engine. Generally you can only have one dynamic light available at a time (the projected texture). So if you want a pitch black map you'll have to make one in hammer :wink:

Make sure to hide a light somewhere (this can be in a box far away from you level; it doesn't matter. Because if you don't have any light in your map the map will compile fullbright; aka loads of light everywhere.

yes yes, I know you can have other dynamic lights as well but they are barely used in portal 2 custom maps

Avatar
Brainstone
401 Posts
Posted Feb 25, 2013
Replied 6 minutes later
I may want to add here: Use tools/black or tools/white as wall texture for your room and then add another brush textured with nodraw_portalable on which you can shoot the portal.
Avatar
FelixGriffin
2,680 Posts
Posted Feb 25, 2013
Replied 4 hours later
If you compile fullbright you can make the unlit areas black with mat_fullbright 0.
Advertisement
Registered users don’t see ads! Register now!
Avatar
BlumCoLe
211 Posts
Posted Feb 28, 2013
Replied 2 days later
The following map gives me the darkness I needed: http://steamcommunity.com/sharedfiles/f ... =112003450 ^^

Later I will make a own map and use your tips! Thank you

You can see the result on my youtube-Channel :smile:
Not yet complete, but one design version.

[CLOSED]