Shader Basics, Blending & Textures • Shaders for Game Devs [Part 1]
Channel:Freya Holmér · Length:3:53:10 · Published:2021-02-26 · Views:1913024
Summary
The first part of Freya Holmer's three-part, nearly four-hour lecture on shader coding for game devs in Unity. It covers what shaders are, vertex and fragment shaders, interpolators, data types, blending and textures.
Why HN recommends it
Recommended as a good first-steps shader tutorial that also teaches broad graphics knowledge.
I liked this tutorial series as a "first steps" by Freya Holmér — HN, 2022
Computer graphics & rendering · Game programming & engines
Subtitles (excerpt)
hello make a fire hello jamaica hello google drop a little average person i'm glad i got the average person in here that's neat okay uh i mentioned this last time uh when we did the math course that i'm gonna try to have this be a very practical and visual approach to what we're doing in order to get into shaders as before feel free to ask questions at any moment i will be primarily reading the chat the future games private chat one of the questions people have quite a lot is like what is a shader and some people ask the question of like do i need shaders in my project or should i use shaders and the easy answer to that is that you kind of don't have a choice everything in a game is rendered with shaders there are some exceptions but these days pretty much every game you play are like rendered with shaders absolutely everywhere so what is a shader uh you can think of a shader as code running on your gpu that is kind of the most generalized way that i can think of defining shaders but in this case we're going to focus on shaders that specifically render graphics onto your screen and quite often what you do is that you define a bunch of parameters like maybe the position of an object you have data such as the a mesh you want to
On Hacker News
I've always enjoyed watching The Art of Code[1], Freya[2] also has a good number of videos on it. But that is just vertex shaders for things like Shadertoys. There is much more to computer graphics or GPGPU than this though, Im still learning about that myself X). [1] [LINK] [2] [VIDEO] — FjordWarden, 2025-04
For procedural animation: I have yet to find the path to learning this skill. It is very opaque, and I think you just need to attack it with your brain and learn it. For shader and graphics programming: I liked this tutorial series as a "first steps" by Freya Holmér: [VIDEO] Here is another list: [LINK] The Book of Shaders is a popular suggestion, but it appears to be abandoned: [LINK] For genera… — honkycat, 2022-02
[LINK] and a good sandbox is [LINK] and you should consider unity too, this is a good tutorial but also lots of good info about graphics in general: [VIDEO] — high_byte, 2021-09
Related videos
- ShaderToy LiveCoding - The Drive Home - 1. Basic Setup · The Art of Code · 15:39
- The Beauty of Bézier Curves · Freya Holmér · 24:25
- The Continuity of Splines · Freya Holmér · 1:13:50
- elevated by Rgba & TBC | 4k intro (FullHD 1080p demoscene demo) · Demoscene High-Quality Videos (Annikras) · 3:36
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03
- Painting a Character with Maths · Inigo Quilez · 24:46
- The Real Story Behind Wayland and X - Daniel Stone (linux.conf.au 2013) · Mladen Mijatov · 45:35
- RustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine West · Rust Programming Language · 42:29
- A Deep Dive into Nanite Virtualized Geometry · SIGGRAPH Advances in Real-Time Rendering · 1:09:59
- How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica · Ars Technica · 31:37
- Jonathan Blow - How to program independent games - CSUA Speech · Alexandre Franco · 1:15:50
- Ideas about a new programming language for games. · Jonathan Blow · 1:55:24
- Siggraph2019 Geometric Algebra · Bivector · 1:37:21
- Exploring the Tech and Design of Noita · GDC Festival of Gaming · 31:00
- Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025 · Better Software Conference · 2:27:33
- Miguel de Icaza: Swift Godot: Fixing the Multi-million dollar mistake #GodotCon2023 · Godot Engine · 54:52