Skip to content
0:00 / 0:00

#shaders#unity#vertexshader

Shader Basics, Blending & Textures • Shaders for Game Devs [Part 1]

Freya Holmér

291K subscribers • 6 videos on Hallway

YouTube
  • Recommended by 3 people: 3 on Hacker News.
  • A classic. People kept recommending it from 2021 to 2025.
  • Presented by Freya Holmér, game developer

Beginner. No background in the topic needed.

1.9M views5 years ago3 recommendations

Graphics and audioGame developmentRenderingGPUs, shaders and CUDAGame programming

Freya Holmér teaches the fundamentals of shader programming, covering vertex and fragment shaders, data types, space transformations, and textures in Unity.

Welcome to my three part lecture on shader coding for game devs 💖 I hope you'll find this useful in your game dev journey! If you are enjoying this series, please consider supporting me on Patreon! 🧡 patreon.com/acegikmo - What are shaders? - Case study/screenshots from FFXIV, Overwatch & more - The Structure of a Shader - Vertex shader - Fragment shader - Shader vs Material - A first look at shader code - Vertex Normals - Interpolators - Data types (fixed vs half vs float) - Fragment shader output - Swizzling - Passing data from vertex shader to fragment shader - Space transformation w. Matrices - UV coordinates & manipulation - Gradients - Values outside of 0 to 1 - Triangle waves using math - Preprocessor constants - Pattern manipulation - Blending Modes - Depth buffer & depth testing (ZTest) - Waves, ripples & vertex offsetting - Textures - World space coordinates - Texture masking - Isotropic mip maps - Anisotropic mip maps - Point vs bilinear vs trilinear filtering - Final questions Project Download & Assignments: docs.google.com/document/d/1h_7O9n5-q8Kb-rhnMJyF4Tab6i3lH97E… Originally streamed as a course for students at futuregames.se/, who were super kind to let me both stream this live as well as upload it here! so massive thanks to the people at FutureGames!! 💖 Patreon ❱ patreon.com/acegikmo 🐦 Twitter ❱ twitter.com/FreyaHolmer 📺 Twitch ❱ twitch.tv/acegikmo 💬 Discord ❱ discord.gg/v5VWuga 🌸 Instagram ❱ instagram.com/freya_holmer ✫ Video Production by Higher Vision: ➥ twitter.com/HigherVision1 ➤ Edited by Stelly: twitter.com/stelly47050876

Why it's here

3 people recommend this

What people say. Highly recommended as an exceptionally clear and comprehensive introduction to shader and graphics programming for game developers.

high_byteon Hacker News • Recommends

On “Visualize 3D hyperbolic honeycombs and sphere packings”

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: link to this video

honkycaton Hacker News • Recommends

On “The harsh truth of video games programming”

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: link to this video Here is another list: link The Book of Shaders is a popular suggestion, but it appears to be abandoned: link For general Unreal? Tom Looman's $300 Unreal C++ class, available on his website. It is pricey but really excellent. I also discovered this AWESOME list of learning paths for all gamedev concepts: link

FjordWardenon Hacker News • Recommends

On “Shadertoys Ported to Rust GPU”

I've always enjoyed watching The Art of Code1, Freya2 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 link to this video