Hacker News new | ask | show | jobs
by kurishutofu 1094 days ago
I tried experimenting with something similar using three.js a while ago [0] when I saw the other post [1]. The trick was hiding the HDR video in the page, allowing other elements to surpass a brightness level of 1. I have a post-processing shader that divides all brightness values by 2, along with CSS that applies filter: brightness(2). Finally a shader material on one of the spheres multiplies its fragment output by a value above one.

[0] https://r3f-hdr.netlify.app

[1] https://kidi.ng/wanna-see-a-whiter-white/