The Book of Shaders

The Book of Shaders

by Unknown author

59mentions
39recommended by
52HN commenters
2015–2026first – last mentioned

75% recommend15% neutral10% critical

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

100 2007: 0 mentions2008: 0 mentions2009: 0 mentions2010: 0 mentions2011: 0 mentions2012: 0 mentions2013: 0 mentions2014: 0 mentions2015: 1 mention2016: 2 mentions2017: 6 mentions2018: 2 mentions2019: 10 mentions2020: 4 mentions2021: 7 mentions2022: 6 mentions2023: 6 mentions2024: 5 mentions2025: 4 mentions2026: 2 mentions200720172026

What Hacker News says

  • haxiomic · Aug 5, 2020 · Recommends

    Hey, I feel bad for not updating this demo in 6 years! Back then it wouldn't run on iOS, today it could run with no trouble For people on iOS, here's another version with rainbow colors and multi-touch https://haxiomic.github.io/demos/rainbow-fluid/index.html If you like this sort of thing and want to learn more about it I recommend checking out https://www.shadertoy.com/ for more demos and http

    on “WebGL Fluid Experiment (2014)” ↗
  • onion2k · Jun 21, 2021 · Recommends

    It's all done with shaders. A good starting point is https://thebookofshaders.com/. You can learn a lot from people's examples on https://www.shadertoy.com/. Another amazing resource is iq's website at https://iquilezles.org/. Something to note - it's all math. Changing other people's code and implementing things other people have devised is quite straightforward, but making new styles requires a

    on “Fluid Paint” ↗
  • cpcat · Jun 29, 2016 · Recommends

    I'm afraid there isn't a single best place. What is important first is to learn how GPU architecture is different from traditional before you start learning Cuda or linear algebra. Take a look at these sources for absolute beginners. https://thebookofshaders.com/ http://duriansoftware.com/joe/An-intro-to-modern-OpenGL.-Tab... http://learnopengl.com/ edit: also when you are ready to pick a lang

    on “Ask HN: Best place to learn GPU programing?” ↗
  • lobo_tuerto · Apr 7, 2015 · Recommends

    What about The Book of Shaders? It's not complete by any means, but will get there eventually, hopefully. :) http://patriciogonzalezvivo.com/2015/thebookofshaders/

    on “WebGL Fundamentals” ↗
  • oveddan · Jan 17, 2017 · Recommends

    Try learning shader programming. It's math based and you draw beautiful visualizations that represent math equations. An excellent tutorial is at http://thebookofshaders.com/

    on “Ask HN: Programming to learn math?” ↗
  • davidwparker · Nov 1, 2017 · Recommends

    The Book of Shaders is a great resource. Shameless self promotion: if you're interested in general WebGL, I have a Youtube channel with over 100 WebGL videos. I publish a couple times a week. I haven't started diving into…

    on “The Book of Shaders” ↗
  • mgzme · May 9, 2019 · Recommends

    Indeed it is similar to Shadertoy (or any other live GLSL editor like, for example, the live editor from The Book of Shaders ( https://thebookofshaders.com/ - which I really recommend, VERY good source for learning, helped me a lot! ), but I wanted to have a set of more flexible features to fit my personal usage like, for example, using any external images (from imgur or any other website that all

    on “Show HN: ShaderLab – My WebGL Social Network” ↗
  • formalsystem · Nov 28, 2019 · Recommends

    Shaders helped me understand how to program GPUs. My favorite book on the topic is https://thebookofshaders.com/ (free) and I'd highly recommend you mess around with it Blender and Unity also have a graphical language to do shaders which are really fun to mess around with.

    on “Molten Bismuth Shader” ↗
  • theschwa · Feb 14, 2021 · Recommends

    Graphical programming is a blast. I can totally see how it feels overwhelming, especially with a lot of ways to do the same thing. I will say though that once you get started a lot of the knowledge is transferable to different technologies and methods. I tend to recommend that people start with The Book of Shaders [0]. What kinds of things would you ultimately like to make? [0] - https://thebook

    on “Graphics Programming Weekly” ↗
  • CodeArtisan · Sep 26, 2021 · Recommends

    https://thebookofshaders.com Still incomplete but browsable online and has its own interactive shader editor (try to click on values like floats or vectors) https://thebookofshaders.com/edit.php?log=161127202429

    on “Shader School - An introduction to GLSL shaders that runs in your web browser” ↗
  • temp13 · Jun 6, 2022 · Recommends

    I'd recommend starting with javascript: https://thebookofshaders.com/ https://threejs.org/examples/#webgl_geometry_terrain_raycast

    on “Source code for 4kb demoscene production “Elevated” released (2016)” ↗
  • Shared404 · Jun 6, 2022 · Recommends

    …I'm actually trying to avoid targeting the browser as much as possible with my projects, with the exception of things actually returning hypertext or that I get for free via wasm or something else. The Book of Shaders looks quite interesting however, thank you for the link!

    on “Source code for 4kb demoscene production “Elevated” released (2016)” ↗
  • gregsadetsky · Aug 1, 2019 · Recommends

    Shaders -- https://thebookofshaders.com/

    on “Ask HN: Your favourite tutorial for total beginners?” ↗
  • kragen · May 4, 2022 · Recommends

    …the Shadertoy website makes it easy to get started with that; you can edit the shader live and see the results in your browser, and save it to a URL. Also maybe check out Patricio Gonzalez Vivo's The Book of Shaders. 7. PyGame, the Python binding for SDL. You can write games in PyGame (solarwolf is in apt, and you can find others with apt-cache rdepends python-pygame) but also it's good for the kind of interactive…

    on “The Demise of the Mildly Dynamic Website” ↗
  • TACIXAT · May 22, 2016 · Recommends

    These are the other graphics related tutorials I have found. Ray Tracing in a Weekend Series. Most the way through the first book and I plan on continuing it. [1][2][3] Tiny Renderer - How OpenGL Works. A software renderer in 500 lines of code. Wiki has a full tutorial. [4] The Book of Shaders. A step by step introduction into fragment shaders. [5] [1] https://www.amazon.com/_/dp/B01B5AODD8 [

    on “Scratchapixel: Computer Graphics Programming from Scratch” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help