Original Post
Hi., I'm in the process of adding hdr lightning to the engine, but before i do so, i wanted to understand something. One of the features of hdr that gathers lots of attention, is that it allows to simulate that our eyes adjust to the light intensities. So when we look into a dark area of the scene our eyes will adjust to the darkenss, if we then look at a light source the scene will appear bright and our eyes will adjust to the lighting. So, my question is, this is controled by the amount of exposure that goes into the shader, right ? This means, in the areas of the game where we want this to happen, we must have a trigger or something like that, that will increase or decrease the exposure level that goes into the shader. Or is there a way to get this exposure level automatically from the scene ? thanks, Bruno