Shader basics & recipes
The foundations of shaders in Unity, whatever tool you use: what a shader is, how vertex and fragment stages work, UVs, normals, depth and custom functions, plus small self-contained recipes. Start here before moving to a specific effect. Use the "Built with" filter to see only Shader Graph or only HLSL guides. 103 hand-picked Unity guides, tutorials, videos and repos, kept current.
- The Shader Survival Guide — MASTER SHADER GRAPH with Unity
Master Shader Graph in Unity: a guided tour of the nodes and the thinking behind shaders.
youtube.com · Aug 2026 - Understanding Unity shader structure
Quick look at what goes into a Unity shader: ShaderLab, HLSL and related pieces.
jettelly.com · Aug 2026 - Unity VFX Graph - Portal Effect Tutorial
Create a portal using VFX Graph and Shader Graph, with a Blender circle mesh and Material Maker noise textures.
youtube.com · Jul 2026 - How I'd learn graphics programming today
A learning path into graphics programming, from engine experiments to real rendering knowledge.
proceduralpixels.com · Jul 2026 - Unity VFX Graph - Meteor Effect Tutorial
Make a meteor with VFX Graph and Shader Graph, covering the Blender mesh, a fresnel shader, movement and Material Maker textures.
youtube.com · Jun 2026 - Custom Shader FX Nodes - No Boilerplate
Discover Unity 6.5’s powerful new Shader Function Reflection API. Write normal HLSL functions, add minimal boilerplate, and Unity automatically turns them into fully-featured Shader Graph nodes with p
youtube.com · Jun 2026 - How to create a shader for expressions and use it on your Synty Character
Create a shader that shows a range of facial expressions on a Synty POLYGON character's face.
youtube.com · Jun 2026 - Unity VFX Graph - Waterfall Effect Tutorial
Create a waterfall with VFX Graph and Shader Graph, including the Blender meshes, waterfall shader and ripples.
youtube.com · May 2026 - Unity VFX Graph - Black Hole Effect Tutorial
Build a black hole with VFX Graph and Shader Graph, covering a fresnel shader, ring meshes and a scrolling shader.
youtube.com · May 2026 - The nature of the pixel
Aliasing, sampling and why many rendering problems come from the screen being made of discrete pixels.
proceduralpixels.com · Mar 2026 - Normal Mapping: how it works
Covers tangent space and the TBN matrix, with a shader implementation that adds surface detail to flat polygons.
moonjump.com · Feb 2026 - Bloom (Post-Processing): how it works
Breaks down bloom into brightness extraction, Gaussian blur, and HDR compositing, with math and shader code.
moonjump.com · Jan 2026 - Toon Shading (Cel Shading): how it works
Explains quantized diffuse lighting, hard specular cutoffs, and inverted-hull outlines for cel-shaded looks.
moonjump.com · Jan 2026 - Metaballs & Implicit Surfaces: how it works
Explains scalar fields and falloff functions that merge organic blobby shapes, plus real-time GPU rendering approaches.
moonjump.com · Jan 2026 - Ray Marching & Signed Distance Fields: how it works
Learn how signed distance fields and ray marching render complex 3D shapes from mathematical functions on the GPU.
moonjump.com · Dec 2025 - Unity UI Shaders you will love - Greyscale, Tints and Gradients
Use Shader Graph for UI to make four effects, including greyscale, tints and gradients.
youtube.com · Dec 2025 - I made this shader run 5x faster
The thought process behind optimizing an old shader to run 5x faster.
proceduralpixels.com · Nov 2025 - Unity Shader Code Basics 01 - Your First Shader
Introduces writing HLSL shader code in Unity, where Shader Graph falls short.
danielilett.com · Oct 2025 - @halisavakis.com: HLSL function declared in one file, defined in another
Shader tip: split declaration and definition across include files so passes share code while implementations vary.
bsky.app · Sep 2025 - Borderlands shader (and textures) (Unreal)
Unreal Engine: how to build a Borderlands-style cel-shaded material and its textures. The toon and outline ideas port to Shader Graph.
artstation.com · Aug 2025 - Unity Shader Graph Basics (Part 10 - Custom Functions)
Injects custom HLSL functions into Shader Graph, including access to additional point light data.
danielilett.com · Jul 2024 - Unity Shader Graph Basics (Part 9 - Scene Intersections 2)
Uses scene intersections for foamy coastal water edges and glowing edges on passing objects.
danielilett.com · May 2024 - Unity - Foil Card Shader Graph
A holographic foil trading-card effect in Shader Graph.
youtube.com · May 2024 - New Shader Graph feature examples in 2022 LTS
Sample set of Shader Graph feature examples you can import to learn many effects and techniques.
unity.com · Mar 2024 - Unity Shader Graph Basics (Part 3 - Transparency & Alpha)
Explains transparency, draw order and alpha clipping in Shader Graph.
danielilett.com · Dec 2023 - The Best Darn Grid Shader (Yet)
How to draw a clean, anti-aliased grid in a shader that holds up at any distance and viewing angle.
bgolus.medium.com · Oct 2023 - Unity Shader Graph Basics (Part 1 - Your First Graph)
Beginner guide to creating your first Shader Graph shader in Unity.
danielilett.com · Sep 2023 - Intro to Shader Graph in Unity 2022 (Part 1 - Your First Shader)
Shader Graph part 1 on building your first shader.
youtube.com · Sep 2023 - Lava Lamp Unity Shader Graph | Tutorial
A lava-lamp fluid effect in URP with Shader Graph; the technique also works for other liquids.
youtube.com · Jul 2023 - Patreon: Building an effect in Shader Graph
Patreon post on building an effect in Shader Graph.
patreon.com · ~Apr 2023 - Efectos visuales en armas Tutorial - Unity Shader Graph
Weapon visual effects with Shader Graph. In Spanish.
youtube.com · Apr 2023 - Hair Shaders - Advanced Materials - Episode 13
The hair shaders available in Unity and Unreal, and how they work.
youtube.com · Jan 2023 - Metal Shader - Advanced Materials - Episode 7
Building a metal shader, including how base color and reflections behave for metals.
youtube.com · Nov 2022 - Improvements to shader build time and runtime memory usage
How variant prefiltering and dynamic variant loading cut shader build time and runtime memory in Unity.
forum.unity.com · Oct 2022 - Tessellation and Displacement - Shader Graph Basics - Episode 41
Tessellation and displacement for highly detailed meshes.
youtube.com · Apr 2022 - Random Noise - Shader Graph Basics - Episode 35
Generating random noise values and using them to scramble textures.
youtube.com · Feb 2022 - MatCap Materials - Shader Graph Basics - Episode 31
Building a MatCap material the correct way.
youtube.com · Jan 2022 - Drawing with SDFs in Unity
Draws shapes with signed distance fields in a Unity shader, from the basics.
bronsonzgeb.com · Jan 2022 - Using Position Data - Shader Graph Basics - Episode 26
The kinds of position data a shader can read and what each is for.
youtube.com · Dec 2021 - Reflection and Refraction Vectors - Shader Graph Basics - Episode 24
Reflection and refraction vectors, and how to build effects with them.
youtube.com · Nov 2021 - Decals and Stickers in Unity Shader Graph and URP
Makes custom decals and stickers in Shader Graph for URP, alongside URP's native decal support.
danielilett.com · Nov 2021 - Custom Lighting in Shader Graph Part 2
Continues the custom lighting series: adding more lighting terms in a Shader Graph.
bronsonzgeb.com · Oct 2021 - Custom Lighting in URP with Shader Graph
Builds custom lighting for URP inside Shader Graph using custom function nodes.
bronsonzgeb.com · Oct 2021 - Smoothstep - Shader Graph Basics - Episode 15
The Smoothstep node: the math, then practical uses.
youtube.com · Sep 2021 - Texture Coordinates - Shader Graph Basics - Episode 8
Texture coordinates explained for beginners.
youtube.com · Jul 2021 - Dot Product Node - Shader Graph Basics - Episode 7
The dot product node: the math behind it and how to use it in a shader.
youtube.com · Jul 2021 - Basic Shader Math - Shader Graph Basics - Episode 4
The add, subtract, multiply and divide nodes, and what basic shader math does.
youtube.com · Jul 2021 - Your First Shader - Shader Graph Basics - Episode 3
Creating your first shader in Shader Graph, from a new project to a working material.
youtube.com · Jun 2021 - The Graphics Pipeline - Shader Graph Basics - Episode 2
A ride down the graphics pipeline: what happens on the GPU before a pixel shows up.
youtube.com · Jun 2021 - GitHub - Cyanilux/ShaderGraphVariables: 🔌👻 Adds 'Register Variable' and 'Get Variable' nodes to Shader Graph, linking sections of a graph with invisible wires
Repo: adds Register Variable and Get Variable nodes to Shader Graph.
github.com · Jun 2021 - How To Use Every Node in Unity Shader Graph
Reference walkthrough explaining how every Shader Graph node works, with examples.
danielilett.com · May 2021 - All Blend Modes! Looking at the Shader Graph Blend Mode Filters ✔️ 2021.1 | Unity Game Dev Tutorial
Surveys every blend mode in Shader Graph's Blend node.
youtube.com · ~Apr 2021 - Distinctive Derivative Differences
A look at the different kinds of shader derivatives and how they differ in practice.
bgolus.medium.com · Apr 2021 - Snow Layers in Unity Shader Graph and URP
Builds snow layers that only cover upward-facing surfaces using a dot product in Shader Graph.
danielilett.com · Mar 2021 - Timeline For Shader Graph
Animates Shader Graph properties using Timeline or code.
gamedevbill.com · Mar 2021 - What is a Shader? | Unity Tutorial
Explains what a shader is in Unity.
youtube.com · Feb 2021 - Unity Basics - Introduction to Shader Graph
Introduces Shader Graph, Unity's node-based shader tool, for beginners.
danielilett.com · Feb 2021 - Halloween Shader | Unity Tutorial
Builds a Halloween-themed shader in Unity.
youtube.com · Oct 2020 - Heat Haze Shader Graph How-To - Game Dev Bill
Creates a heat haze effect in Shader Graph with video and written steps.
gamedevbill.com · Sep 2020 - Unity Shader Graph Introduction - Basic Shader Graph Tutorial
Beginner introduction to Shader Graph basics.
youtube.com · ~Sep 2020 - UnlitCubeMap - Pastebin.com
Pastebin unlit shader that samples a cubemap.
pastebin.com · ~Jun 2020 - Tip: Preview Nodes in Shader Graph
Uses Preview nodes in Shader Graph to organize and clarify graphs.
gamedevbill.com · Mar 2020 - Skillshot Arrow Shader | Sawce
Blog post on a skillshot arrow indicator shader.
sawcegames.com · ~Mar 2020 - GitHub - adrian-miasik/unity-shaders: A bunch of shader examples created in Unity (ShaderGraph & Built-in) 🧙✨
Repo: shader examples in Shader Graph and the built-in pipeline.
github.com · Mar 2020 - Shader with Animated Offset in CG and Shader. [ENG SUB]
Builds a shader with animated texture offset in CG and Shader Graph.
youtube.com · Feb 2020 - Analogy between CG & Shader Graph | Unity Tutorial
Compares writing CG shader code with the equivalent Shader Graph nodes.
youtube.com · Feb 2020 - What should I know about shaders | Unity Tutorial
Overview of what to know before learning shaders in Unity.
youtube.com · Feb 2020 - What is a Shader | Unity Tutorial
Explains what a shader is in Unity.
youtube.com · Feb 2020 - Shader structure | Unity Tutorial
Explains the structure of a Unity shader file.
youtube.com · Feb 2020 - How To Create Custom Shader Graph Nodes
Creates custom Shader Graph nodes by embedding HLSL.
gamedevbill.com · Nov 2019 - DemkeysUnityShaders/ColorChanger/ColorChanger.shader at master · Demkeys/DemkeysUnityShaders
Repo: collection of Cg/HLSL Unity shaders, here a color changer shader.
github.com · Sep 2019 - GitHub - Xibanya/ShaderTutorials: Shaders For People Who Don't Know How To Shader, a tutorial series for beginners!
Repo: beginner-friendly shader tutorial series.
github.com · Aug 2019 - Sharper Mipmapping using Shader Based Supersampling
A shader-based supersampling approach for sharper results than plain mipmapping.
bgolus.medium.com · Aug 2019 - Glowy Ring Shader
Builds a glowing ring shader in Unity.
youtube.com · Jul 2019 - Image effects shader basics (Devblog #8)
How post-process shaders run from an OnRenderImage script, and how to chain several effects.
bruteforcegame.com · Jul 2019 - Vertical ground fog shader (Devblog #7)
Ground fog that fades by height, built from a mesh and used as a gameplay boundary.
bruteforcegame.com · May 2019 - GitHub - ArturoNereu/Unity2019ShaderDevelopment: Creating Shaders (via code and Shader Graph) in Unity 2019
Repo: shader creation via code and Shader Graph in Unity 2019.
github.com · May 2019 - Flat shader and character animation for a game jam (Devblog #5)
Two shaders behind a flat, cartoon look made during a Ludum Dare jam.
bruteforcegame.com · May 2019 - Getting Started Learning Tech Art & Unity Shader Writing
A starting point for learning tech art and writing shaders in Unity.
lindenreidblog.com · Jan 2019 - UnityのShaderGraphを利用してSTYLY用のシェーダーを作成する
Japanese guide to making a Shader Graph shader and porting it to STYLY.
styly.cc · Jan 2019 - My take on shaders: What’s the deal with surface shaders?
Explains what surface shaders are and when to use them.
halisavakis.com · Nov 2018 - Basic Math for Shaders
What’s the difference between a cross product and a dot product? And what’s a surface normal??
lindenreidblog.com · Aug 2018 - The Team Color Problem
Approaches to recolouring part of an object, such as team colours, in a shader.
bgolus.medium.com · Jul 2018 - Surface Shader Basics
Introduces surface shader basics in Unity.
ronja-tutorials.com · Mar 2018 - Basic Shader
Writes a basic shader that fills in color output.
ronja-tutorials.com · Mar 2018 - Variables
Explains shader variables and properties.
ronja-tutorials.com · Mar 2018 - HLSL
Introduces HLSL, the language of Unity shader logic.
ronja-tutorials.com · Mar 2018 - Structure
Explains the overall structure of a Unity shader.
ronja-tutorials.com · Mar 2018 - X-Ray Shader Tutorial in Unity
A tutorial on how to write a shader in Unity that draws objects in front of walls.
lindenreidblog.com · Mar 2018 - Rim Highlight in Unity
A tutorial on how to write a shader with an outline highlight in Unity/CG.
lindenreidblog.com · Mar 2018 - Custom Diffuse Shader in Unity
A tutorial on how to create a smooth diffuse shader in Unity.
lindenreidblog.com · Feb 2018 - Shader bits: World and screen space position – Harry Alisavakis
Shader snippets for getting world and screen space position.
halisavakis.com · ~Nov 2017 - Shader bits: Camera distance, view direction and normal vectors – Harry Alisavakis
Shader snippets for camera distance, view direction and normal vectors.
halisavakis.com · ~Nov 2017 - Normal Mapping for a Triplanar Shader
How to get correct normal mapping on triplanar-mapped surfaces.
bgolus.medium.com · Sep 2017 - Anti-aliased Alpha Test: The Esoteric Alpha To Coverage
How alpha to coverage gives anti-aliased alpha-tested edges, which matters most in VR.
bgolus.medium.com · Aug 2017 - Rendering 2: Shader Fundamentals
Rendering series part 2: shader fundamentals.
catlikecoding.com · Mar 2016 - Shaders 101 - Intro to Shaders
Introduction to what shaders are and how they work in Unity.
youtube.com · Feb 2016 - Surface shaders in Unity3D
Tutorial on writing surface shaders in Unity with example code.
alanzucconi.com · Jun 2015 - Intro to Shader Graph
Detailed Shader Graph introduction covering graph setup, data types, previews and more.
cyanilux.com - Slime Shader: Fake Translucency (Unreal)
Unreal Engine: a jelly-like translucent look from a fully opaque material, using fake subsurface shading in emissive and World Position Offset for internal depth.
artstation.com - Glitter shader (Unreal)
Unreal Engine: view-dependent sparkles driven by a custom texture whose channels hold each sparkle's normal, trigger angle and mask.
artstation.com - Sparkling snow shader (Unreal)
Unreal Engine: snow whose flakes sparkle as the object rotates and react to scene lighting, so the glitter fades in shadow.
artstation.com - Setting Up a Detailed Snow Shader in Unreal Engine 5 (80.lv)
Unreal Engine 5: a written breakdown of the sparkling snow shader, with the material setup.
80.lv