Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
OpenGL
Post Process Effects
« previous
next »
Print
Pages: [
1
]
Post Process Effects
5 Replies
3744 Views
matan45
34
Post Process Effects
«
on:
December 09, 2017, 07:33:34 »
how can I do Eye Adaptation? I didn't find any resource about it
Logged
KaiHH
334
Re: Post Process Effects
«
Reply #1 on:
December 09, 2017, 13:19:33 »
you eyes will do it automatically for you. see
https://en.wikipedia.org/wiki/Adaptation_(eye
)
Logged
matan45
34
Re: Post Process Effects
«
Reply #2 on:
December 10, 2017, 08:01:22 »
no examples of glsl
Logged
KaiHH
334
Re: Post Process Effects
«
Reply #3 on:
December 10, 2017, 11:57:59 »
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.
Logged
matan45
34
Re: Post Process Effects
«
Reply #4 on:
December 10, 2017, 16:23:30 »
this is a lot of tone mapping functions which one is the eye Adaptation?
Logged
KaiHH
334
Re: Post Process Effects
«
Reply #5 on:
December 10, 2017, 17:58:25 »
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.
Logged
Print
Pages: [
1
]
« previous
next »