frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

The Book of Shaders

https://thebookofshaders.com/
79•max_•3d ago

Comments

aquova•4h ago
If you're discovering this for the first time and think it looks interesting, I shall post the customary warning to perhaps not bother. It's a well-written resource, for what's there, but it is left unfinished right where things start getting interesting and hasn't had an update in almost a decade now.
hackerknew•3h ago
I learned so much from this website many years ago when I was first discovering webgl programming. It is unfortunately unfinished, yes, but those unfinished chapters on advanced topics make for curiosity and the desire to learn more. There are plenty of other resources that fill in the details, but this is a great beginner guide.
hijp•1h ago
interesting that even though it’s such a cherished resource no one’s taken up the flag to complete it after all this time.
90s_dev•4h ago
I have tried a few times to learn shaders, but it always feels like I'm about 20 years behind on all sorts of random but necessary facts about shaders with no way to catch up in a reasonable timeframe. This book looks like it could help catch me up, and I like that all the code samples are interactive and immediately update.
ghfhghg•3h ago
Try looking up Ben Cloward on YouTube. He's quite concise and thorough.
hackerknew•3h ago
Yes, this is exactly what this website is for, and the interactive examples put you right in to programming in glsl and give such an awesome base to experiment.

There are plenty of resources out there as you get more advanced, but imo bookofshaders is a great starting resource.

Uehreka•2h ago
Honestly this is exactly the kind of area where I’ve found things like OpenAI’s Deep Research and Anthropic’s Advanced Research help a ton. Tell the LLM what you’ve learned, what kinds of things you want to know, and if you don’t know what you want to know then heck, tell it how you feel (like you just did in this comment). I generally try to give it a nice chunky paragraph or two of background and questions.

In my experience, the LLM is usually good at surveying the field, finding resources you might not have found, and evaluating the quality of learning resources. The report that comes back might be super juicy, or it might just point you in some new directions, but it will probably help you get unstuck.

kaibee•1h ago
https://iquilezles.org/articles/ Also recommend this as a resource, immensely useful and full of examples.
rossant•3h ago
(2015)?

Also, there may be many earlier posts about this on HN.

thomascountz•3h ago
As others have pointed out, this book is incomplete (and has been for some years), though it is considered foundational by many.

A different intro I particularly enjoyed is A Journey into Shaders[0], which succinctly covers signed distance functions and leaves you with a small finished project.

Previously discussed : 555 points by superMayo on Oct 26, 2023 | 71 comments | https://news.ycombinator.com/item?id=38032288

[0]: https://www.mayerowitz.io/blog/a-journey-into-shaders

raincole•1h ago
I feel this book is posted on HN every a few months for years, but it never gets completed...
deadbabe•1h ago
Everytime I think I understand shaders, I find examples of people running entire simulated worlds inside a shader and I no longer understand how that is possible.

Bought an Ampere Altra System

https://marcin.juszkiewicz.com.pl/2025/06/27/bought-myself-an-ampere-altra-system/
9•pabs3•50m ago•0 comments

NativeJIT: A C++ expression –> x64 JIT

https://github.com/BitFunnel/NativeJIT
18•nateb2022•2h ago•6 comments

I made my VM think it has a CPU fan

https://wbenny.github.io/2025/06/29/i-made-my-vm-think-it-has-a-cpu-fan.html
473•todsacerdoti•15h ago•118 comments

The Book of Shaders

https://thebookofshaders.com/
79•max_•3d ago•12 comments

Cell Towers Can Double as Cheap Radar Systems for Ports and Harbors (2014)

https://spectrum.ieee.org/cell-tower-signals-can-improve-port-security
67•transpute•7h ago•28 comments

Gridfinity: The modular, open-source grid storage system

https://gridfinity.xyz/
22•nateb2022•1h ago•3 comments

Amber insect fossils reveal "zombie" fungi likely lived alongside dinosaurs

https://www.cnn.com/2025/06/24/science/amber-insect-zombie-fungi-fossil
25•jackgavigan•3d ago•7 comments

Continuous Glucose Monitoring

https://www.imperialviolet.org/2025/06/29/cgm.html
40•zdw•3h ago•12 comments

Ask HN: What Are You Working On? (June 2025)

139•david927•9h ago•477 comments

Revisiting Knuth's "Premature Optimization" Paper

https://probablydance.com/2025/06/19/revisiting-knuths-premature-optimization-paper/
96•signa11•3d ago•48 comments

We accidentally solved robotics by watching 1M hours of YouTube

https://ksagar.bearblog.dev/vjepa/
105•alexcos•13h ago•83 comments

ICE test train reaches speeds of up to 405.0 km/h

https://www.deutschebahn.com/de/presse/pressestart_zentrales_uebersicht/ICE-Testzug-faehrt-bis-zu-405-0-km-h-und-sammelt-wichtige-Erkenntnisse-fuer-den-Hochgeschwindigkeitsverkehr-13428394
26•doener•6h ago•16 comments

The $25k car is going extinct?

https://media.hubspot.com/why-the-25000-car-is-going-extinct
123•pseudolus•13h ago•228 comments

Building untrusted container images safely at scale

https://depot.dev/blog/container-security-at-scale-building-untrusted-images-safely
10•Telstrom90•3d ago•5 comments

Touching the back wall of the Apple store

https://blog.lauramichet.com/touching-the-back-wall-of-the-apple-store/
104•nivethan•3d ago•79 comments

Use keyword-only arguments in Python dataclasses

https://chipx86.blog/2025/06/29/tip-use-keyword-only-arguments-in-python-dataclasses/
22•Bogdanp•4h ago•3 comments

Anticheat Update Tracking

https://not-matthias.github.io/posts/anticheat-update-tracking/
34•not-matthias•8h ago•6 comments

Finding a former Australian prime minister’s passport number on Instagram (2020)

https://mango.pdf.zone/finding-former-australian-prime-minister-tony-abbotts-passport-number-on-instagram/
105•guiambros•7h ago•35 comments

4-10x faster in-process pub/sub for Go

https://github.com/kelindar/event
127•kelindar•14h ago•26 comments

Ultrasound toothbrush promises painless checks for hidden gum problems

https://phys.org/news/2025-06-ultrasound-toothbrush-painless-hidden-gum.html
8•PaulHoule•3d ago•0 comments

Nearly 20% of cancer drugs defective in 4 African nations

https://www.dw.com/en/nearly-20-of-cancer-drugs-defective-in-4-african-nations/a-73062221
90•woldemariam•6h ago•49 comments

WorldVLA: Towards Autoregressive Action World Model

https://arxiv.org/abs/2506.21539
16•chrsw•5h ago•1 comments

Many ransomware strains will abort if they detect a Russian keyboard installed (2021)

https://krebsonsecurity.com/2021/05/try-this-one-weird-trick-russian-hackers-hate/
240•air7•10h ago•139 comments

Error handling in Rust

https://felix-knorr.net/posts/2025-06-29-rust-error-handling.html
114•emschwartz•9h ago•91 comments

The Medley Interlisp Project: Reviving a Historical Software System [pdf]

https://interlisp.org/documentation/young-ccece2025.pdf
87•pamoroso•14h ago•7 comments

Modelling API rate limits as diophantine inequalities

https://vivekn.dev/blog/rate-limit-diophantine
51•viveknathani_•2d ago•5 comments

Show HN: Rust -> WASM, K-Means Color Quantization Crate for Image-to-Pixel-Art

https://github.com/gametorch/image_to_pixel_art_wasm
34•gametorch•3d ago•4 comments

Reverse Engineering the Microchip CLB

http://mcp-clb.markomo.me/
30•_Microft•7h ago•6 comments

Show HN: Octelium – FOSS Alternative to Teleport, Cloudflare, Tailscale, Ngrok

https://github.com/octelium/octelium
302•geoctl•18h ago•131 comments

Show HN: A tool to benchmark LLM APIs (OpenAI, Claude, local/self-hosted)

https://llmapitest.com/
40•mrqjr•13h ago•7 comments