r/GraphicsProgramming • u/The_jokeer • Jun 05 '20
Manual exposure and physical light unit problem! (overexposed image)
Hello guys,
Edit: I just noticed that my post doesn't make a lot of sense so I will try and sum it up in fewer words
So basically I'm trying to validate the exposure calculations for the "manual mode" of my camera by using physical units for the sun and using the sunny 16 rule, by making the sun 100000 lux ( the intensity of the sun in a clear day at noon) and setting up the camera properties as shown in the image, the scene should be normally exposed, so I'm quite lost as to why it is overexposed and if there was anything that I missed. thank you
Original post :
so I'm building a 3d renderer and currently using OpenGL, I'm trying to implement manual camera exposure and HDR/Tonemapping, and I followed this great course and I implemented the code in my engine, right now I'm rendering the scene to an off-screen texture and applying the post-process calculation by simply applying the calculations of the exposure based on the camera parameters, and then applying the filmic tone mapping and finally the gamma correction, as you can see the resulting image is way overexposed
I'm I doing something wrong? , I'm quite new to graphics programming.





1
u/wiremore Jun 05 '20
I mean it’s normal with HDR rendering to have to adjust the exposure a bit manually to avoid over or under exposing, much like with a camera. Sometimes people implement a dynamic exposure system that adjusts the camera or eye parameters based on the brightness of the image to achieve a desired amount of exposure.
1
u/The_jokeer Jun 05 '20
I'm making this test scenario based on the sunny 16 rule as described in the course to validate the exposure, in other words by setting the luminance of the sun at 100000 lux and these camera parameters ( 16f stop aperture, 1/100 s shutter speed, and 100 ISO) this should be normally exposed without compensation, but as you can see in the image it's way overexposed and I have to turn down the sun intensity to 50000 lux or up the f-stops to 24 in the camera to make it look right!
3
u/ShillingAintEZ Jun 05 '20
You might want to clean up your writing a bit