almost 4 years ago - faatal - Direct link

The effect is not eye adaptation, which is a post processing screen effect. It is not about your eyes adjusting. It is about going into a dark house and it being dark. Ambient light from outside should not be brightening up a dark basement or mine shaft, so ambient is decreased when you go indoors. The old block darkening was buggy and slow, so it was disabled and replaced with the current system, which may or may not be what is in gold.

almost 4 years ago - faatal - Direct link

It is calculated by scanning through neighboring blocks. That algorithm is old and actually something I'd like to look at and see if it can be improved, since the results don't seem that great.