Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Zero-K Going HDR (Warning: Image heavy)

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
12/2/2016 5:42:39 PMCArankAdminShadowfury333 before revert after revert
12/2/2016 5:39:47 PMCArankAdminShadowfury333 before revert after revert
12/2/2016 5:30:20 PMCArankAdminShadowfury333 before revert after revert
Before After
1 [quote]@Shadowfury I don't see why bloom needs double scaling. Any pixels below the brightness threshold get copied to the image as black by the bright shader, so blurring will necessarily dilute the brightness which will then be further reduced by the max brightness multiplier. Actually I simplified the way maxbrightness works too, and both are because HDR allows for colors above 1.0, which will be scaled back to the [0 .. 1] range by tone mapping anyway.[/quote] 1 [quote]@Shadowfury I don't see why bloom needs double scaling. Any pixels below the brightness threshold get copied to the image as black by the bright shader, so blurring will necessarily dilute the brightness which will then be further reduced by the max brightness multiplier. Actually I simplified the way maxbrightness works too, and both are because HDR allows for colors above 1.0, which will be scaled back to the [0 .. 1] range by tone mapping anyway.[/quote]
2 Except that tone mapping doesn't map [1..∞) to [0..1], it maps it to [1 - e^(-exposure)..1], which for an exposure of 1.5 maps it to [0.77687..1]. So if you have a brightness transition over the illumination threshold it becomes weirdly pronounced, because it takes something like: 2 Except that tone mapping doesn't map [1..∞) to [0..1], it maps it to [1 - e^(-exposure)..1], which for an exposure of 1.5 maps it to [0.77687..1]. So if you have a brightness transition over the illumination threshold it becomes weirdly pronounced, because it takes something like:
3 \n 3 \n
4 0.9 0.92 0.96 0.98 1.0 1.02 1.02 1.0 0.99 0.96 0.92 0.9 4 0.9 0.92 0.96 0.98 1.0 1.02 1.02 1.0 0.99 0.96 0.92 0.9
5 \n 5 \n
6 and makes it something like (assuming illumnation threshold of 1 and fragMaxBrightness 0.35): 6 and makes it something like (assuming illumnation threshold of 1 and fragMaxBrightness 0.35):
7 \n 7 \n
8 0.9 0.92 0.96 0.98 1.27 1.275 1.275 1.27 0.99 0.96 0.92 0.9 8 0.9 0.92 0.96 0.98 1.27 1.275 1.275 1.27 0.99 0.96 0.92 0.9
9 \n 9 \n
10 instead of: 10 instead of:
11 \n 11 \n
12 0.9 0.92 0.96 0.98 1.0 1.007 1.007 1.0 0.99 0.96 0.92 0.9 12 0.9 0.92 0.96 0.98 1.0 1.007 1.007 1.0 0.99 0.96 0.92 0.9
13 \n 13 \n
14 Or, to use screenshots: 14 Or, to use screenshots:
15 \n 15 \n
16 With the current bloom: 16 With the current bloom:
17 [url=https://i.imgur.com/ZKRrZ3p.jpg][img]https://i.imgur.com/ZKRrZ3pl.jpg[/img][/url] 17 [url=https://i.imgur.com/ZKRrZ3p.jpg][img]https://i.imgur.com/ZKRrZ3pl.jpg[/img][/url]
18 \n 18 \n
19 With my suggestion: 19 With my suggestion:
20 [url=https://i.imgur.com/2OsNqru.jpg][img]https://i.imgur.com/2OsNqrul.jpg[/img][/url] 20 [url=https://i.imgur.com/2OsNqru.jpg][img]https://i.imgur.com/2OsNqrul.jpg[/img][/url]
21 \n 21 \n
22 With no bloom: 22 With no bloom:
23 [url=https://i.imgur.com/eHKtKuo.jpg][img]https://i.imgur.com/eHKtKuol.jpg[/img][/url] 23 [url=https://i.imgur.com/eHKtKuo.jpg][img]https://i.imgur.com/eHKtKuol.jpg[/img][/url]
24 \n
25 Or for a comparison with the sun:
26 With current bloom:
27 [url=https://i.imgur.com/48Vmfae.jpg][img]https://i.imgur.com/48Vmfael.jpg[/img][/url]
28 \n
29 With my suggestion:
30 [url=https://i.imgur.com/S8lvKcG.jpg][img]https://i.imgur.com/S8lvKcGl.jpg[/img][/url]
31 \n
32 With no bloom:
33 [url=https://i.imgur.com/jqIe1Dj.jpg][img]https://i.imgur.com/jqIe1Djl.jpg[/img][/url]
34 \n
35 \n
36 All the ones that use the current bloom look weirdly dreamlike, or like they are covered in vaseline. I realize the other two are darker, but that's because I didn't edit the combine shader in between to compensate.