Post Process Effects

Started by matan45, December 09, 2017, 07:33:34

Previous topic - Next topic

matan45

how can I do Eye Adaptation? I didn't find any resource about it   

KaiHH


matan45


KaiHH

you already mentioned a link in another post about Tone Mapping of HDR images: https://learnopengl.com/#!Advanced-Lighting/HDR
What you need to be doing is called "Tone Mapping", so google a bit for it. For example: "Tone Mapping OpenGL" or "Tone Mapping GLSL", and you will surely find something.

matan45

this is a lot of tone mapping functions which one is the eye Adaptation?

KaiHH

You first have to understand how one would implement eye adaptation. You should _really_ use your google skills more often.
One great example of what eye adaptation should consist of is given here: https://docs.unrealengine.com/latest/INT/Engine/Rendering/PostProcessEffects/AutomaticExposure/
So, you would first have to build a histogram of your scene's luminances and then find the lowest/average/highest values to guide your tone mapping.