Ultimate space simulation software

 
User avatar
silikone
Observer
Observer
Topic Author
Posts: 14
Joined: 11 Mar 2019 23:17
Location: 127.0.0.1

Gamma-correct star rendering

22 Apr 2022 09:40

It seems to me that some aspects of the rendering aren't being properly handled in terms of linear and gamma spaces. There are multiple clues of this, but a prominent example is how the bloom effect of stars has a mismatch with the body color. If the in-game gamma slider is turned up to 2, this effect is reduced and looks more like it should. Here is an example of the solar system with disabled diffraction spikes and the "exposure" tone mapper to demonstrate the point. A reddish halo around the sun is rather prominent by default. The higher gamma setting extends the bloom, but importantly, the hue stays rather consistent.
Gamma = 1
scr00030.jpg
Gamma = 2
scr00031.jpg
In addition to this, the shading contour of the moon is also affected by the gamma shift. If you ask me, the gamma setting of 2 more closely resembles this educational slide on gamma-correction.
Image
Source: Uncharted 2 HDR presentation by Hable

There is even a demonstration that uses the real moon as a reference.
Image
Source: https://project-eden.blogspot.com/2011/ ... nated.html

A gamma setting of 2 is roughly equivalent to an sRGB EOTF that is being performed in order to apply gamma-correction.

Who is online

Users browsing this forum: No registered users and 1 guest