HN Hall of Fame Weekly email

Ubershaders: A Ridiculous Solution to an Impossible Problem

dolphin-emu.org Essays & writing Essays & articles Computer games Class of 2024-05 Hall of Fame

Resurfaced independently across 6 calendar years, with breakout response in 2 of them.

submissions
9
submitters
9
observed span
2017–2024
peak thread · 88 comments
772 pts
latest 20+ return · 2024-05-16
222 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

What an awesome writeup. I am not even really personally invested in the problem as I don't play older video games, but I loved reading the story. I wish other open source projects would do similar writeups when they reach major accomplishments. If I just saw "specialized shaders replaced with ubershaders" on a feature update, I probably wouldn't think there was much of a story to it.

et2o·772-point thread·

Has it really been 9 years since I started working on Ubershaders? I'm a little surprised no better solution has come along. Vulkan didn't even exist back then (and DirectX 12 had only just released) but instead of making things better, it digs it's feet even deeper into the assumption that all shaders will be known ahead of time (resulting in long "shader recompilation" dialogs on startup on many games). I've been tempted to build my own fast shader compiler…

phire·222-point thread·

Previous discussio: https://news.ycombinator.com/item?id=14884992 I decided to repost it as it is already 3 years, since the last repost and I suspect many have not seen it yet.

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
1007

reference only — not used in Hall rules or ranking

Total comments
158

reference only — not used in Hall rules or ranking

Every submission