You want to use a base e logarithm, so log() and exp() are what you should use in the shader.
In that sample I did try out a more complex auto-exposure routine where you could use an average luminance that was localized for a portion of the screen. It was somewhat experimental, and I don't currently use it anywhere else.
Show differencesHistory of post edits
#1MJP
Posted 17 August 2012 - 11:42 AM
You want to use a base logarithm, so log() and exp() are what you should use in the shader.
In that sample I did try out a more complex auto-exposure routine where you could use an average luminance that was localized for a portion of the screen. It was somewhat experimental, and I don't currently use it anywhere else.
In that sample I did try out a more complex auto-exposure routine where you could use an average luminance that was localized for a portion of the screen. It was somewhat experimental, and I don't currently use it anywhere else.