Color Space, Lighting and HDR Rendering

Greetings everybody! 👋

With today’s blog-post we want to give you an insight about our render engine, in particular about color spaces, how much they affect the look of a game and our recent work on it that will be release in future updates.

We could say that always had a clean and spartan look. This is in part an artistic choice to favor visual clarity, but also a necessity due the engine’s old-school techniques.

Let’s start talking about color spaces.

Our eyes don’t react to light in a linear way, and with the necessity to compress video signals, we use a color space that provides greater accuracy to ranges which our eyes are more sensible to. This color space is called gamma color space, and that’s what our game uses.

Because light behaves in a linear way, we cannot use gamma space to achieve physically correct results. For that reason we need to work in the so-called linear space, where the contribution of different light sources returns their correct intensity, opposed to gamma space where this is not true.

In the below scheme you can appreciate the differences between gamma and linear space, as the problems in doing math in the first:

Math in gamma space is complicated because the values do not scale linearly!

One of the main challenges of moving to the more physically correct linear color space is retaining the look of the existing assets, as well as mods. In this period we have tested various solutions in order to achieve that, with very promising results.

After these improvements, the next natural step is to enable proper HDR rendering: whereas in LDR (Low Dynamic Range) the engine works with values in a range of 0-1, in HDR (High Dynamic Range) the internal range is much higher, allowing for much more realistic lighting. Very bright things can actually be bright, and very dark things dark.

Please note that the following images contain work-in-progress content

In the former two comparisons, you can see Hirochi Raceway and West Coast USA. We managed to keep most of their original look while also allowing the lighting fixes to reveal more details in asset textures:

And here’s old Utah and its upcoming refresh, which is taking advantage of ad-hoc settings for this change:

Last but not least, a direct comparison of the vehicles, which now have a more vibrant look:

Some bonus ‘in-motion‘ clips! 😁

Bloom Post-processing can now properly work on bright pixels

Lights projecting on parallel surfaces also behave better now

In conclusion, despite working within certain self-imposed restrictions we are still able to push the envelope of what our rendering engine is capable of doing. We are very happy with the quality improvements this work has resulted in and we hope you are too. Look forward to seeing it in action on your PC with a future update of!

10 responses to “Color Space, Lighting and HDR Rendering”

  1. David says:

    I love you <3


  2. Michael says:

    Most underated game ever, your efforts on the game are highly appreciated, keep it up .

  3. Kombuscha says:

    Good job guys, new maps look way more colorful

  4. SajtistaPista says:

    Nice job guys!

  5. Ary says:

    Excelent job! I love the new lightning!

  6. Dimondminer11 says:

    I FRIGGEN LOVE the new lighting! I will say though that in some of the demo images the vehicles in particular look like they have somewhat washed out stock colors. But otherwise it looks GOOD. I should also congratulate you guys for how much you have done to make it more realistic over the years. Good job and keep up the good work! 😀

  7. KennyWah says:

    I’m really happy to see an update tho colourspace. I’ve always found the colours, lighting and almost hazy fog look, especially on a tn panal to be nearly puke worthy after long sessions of playing BeamNG.

    This new, clearer, sharper, more dynamic sheen to the game’s redering will do it wonders.

  8. Ruben says:

    i love all the map reworks on graphics but i like the red tint on Utah why because it just doesnt look like beamngs look so i do want a older version of Utah and the new one as two maps

  9. Drew says:

    Love It! but when will a old graphic pack come out?

Leave a Reply

Your email address will not be published. Required fields are marked *