Ambent Lighting
Setting the Ambient Levels
Create a env_tonemap_controller. It will look like a black/purple checkerboard in Hammer; that's fine.
Create a logic_auto, because env_tonemap_controller has no parameters so needs to be configured with I/O. Configure the logic_auto to setup the lighting when the map starts:
SetAutoExposureMin 0.75
SetAutoExposureMax 1.5
SetBloomScale 0.3
but this has no effect on my map. Of course I compiled it with lighting and the map is without leaks. What I have now is this (see the attachment). The name of the env_tonemap_controller entity is tonemap. I don't understand the target inputs, don't know what they mean. No relevant description can be found on the valve's developer wiki either.
So, please, could someone tell me how to get ambient lighting working, so that there are no "pitch-black" places around the map?
Thanx in advance
Quote:
you can just copy/paste them directly into your own map
WHAT!!!!!!! Copy/pasting!
shuuunnnnnnnnnn...............
How do I compile with HDR? I have checked all the compilation steps in the Run Map dialog, is there anything I should add/change? Btw. my graphics card is an older one (GF6200) and I think it does not support the HDR thingy.
I already got the idea to look at the example map and see how it is done, but there is one problem - my Hammer crashes when trying to open the example map. It gives me no error mesage/whatsoever, it just closes without notice. But I was able to open the example map a couple of times, maybe 3 or 4 times in the future?
I really don't know what might be the cause, but as long as I can make my own map, I am a lucky person
//Edit: somehow I managed to open the example map and I did it exactly as in there, but the whole map is pitch black anyway 
appunxintator wrote:
Quote:you can just copy/paste them directly into your own map
WHAT!!!!!!! Copy/pasting!
shuuunnnnnnnnnn...............
Or spend 2min recreating the exact same thing in your map...no thanks, I like to be productive in my mapping.
Quote:
How do I compile with HDR?
Yeah just make sure you have the HDR compile option selected in Hammer. Then once in game make sure to do buildcubemaps with mat_hdr_enabled 0 then with mat_hdr_enabled 1.
Quote:
//Edit: somehow I managed to open the example map and I did it exactly as in there, but the whole map is pitch black anyway
Those entities don't really create a global lighting that you are thinking of.
shadow_control - controls the color of shadows and their distance...this gives the effect from the control room windows.
color_correction - this gives the rooms their Portal feel, giving them a blueish/brightened color
env_tonemap_controller (and with inputs for exposure/bloom scale) - this exposes stuff to make them feel brighter and enhances the bloom.
If you are have lighting problems, your best option is to create more light sources instead of a global light. Having light without any sources doesn't make sense, no? It's much better to create inset lights/wall lights/observation rooms which also give the rooms more depth and detail.
//EDIT: Well, I guess I will do without ambient lighting. The map was so ugly because there were unnoticed leaks, now when it is fixed, everything looks much much better 
http://developer.valvesoftware.com/wiki/Advanced_HDR
That page took me freakin months to write, but it was well worth it.