[HN Gopher] Removing Banding in Linelight
___________________________________________________________________
Removing Banding in Linelight
Author : WithinReason
Score : 46 points
Date : 2022-01-24 17:23 UTC (5 hours ago)
(HTM) web link (pixelmager.github.io)
(TXT) w3m dump (pixelmager.github.io)
| apankrat wrote:
| I made a small JS library to resolve banding in CSS backgrounds
| with linear gradients. Uses the same idea.
|
| https://github.com/apankrat/js-noisy-gradient
| gnabgib wrote:
| This is a great article that suffers from a bad title (for HN, in
| my opinion). The tl;dr in TFA sums it up nicely:
| If your game has banding, it is often very easy to get rid of
| simply by adding noise to the shader-outputs
|
| I didn't know what Linelight was, but that's not important. The
| author has gone into some great detail complete with screenshots
| and examples in Unity to explain the problem. I don't suppose
| this is even game specific, if you're rendering to WebGL, or
| maybe building a 3D model (in Blender perhaps) this could be
| relevant.
| dendrite9 wrote:
| I thought it was interesting and a good article. And then I
| went to the game site and noticed that while there was no
| banding in the gameplay images, there is banding the background
| of the site. I suspect reading about it primed me to notice the
| banding more than I otherwise would have.
___________________________________________________________________
(page generated 2022-01-24 23:05 UTC)