Lighting | Unity Shader Code Basics 06
Daniel Ilett
Visit resource ↗Description
Lighting | Unity Shader Code Basics 06 is a free YouTube video on the Daniel Ilett channel, an episode in the Unity Shader Code Basics series.
Unity Shader Code Basics episode implementing Phong-style ambient, diffuse, and specular lighting in a custom URP HLSL shader. Walks through normals, view direction, UniversalForward LightMode, URP Lighting.hlsl, and sampling main-light shadow maps. Aimed at beginners learning handwritten Unity shader lighting after earlier series parts.
It is aimed at beginner graphics programmers and matches the audience implied by Daniel Ilett's other work.
Access is a single free YouTube video with on-screen code and narration; numbered episodes assume you followed earlier parts of the same series.
It is useful when you want practical detail beyond a title or store listing and prefer primary-source explanation from the author or maintainer.
Related resources
- 2D Water Shader Breakdown (Cyanilux)
A Shader Graph breakdown of stylized 2D water in Unity URP: sprite reflections via a second camera, scrolling noise distortion, fake highlights, and tilemap shoreline ripples for pixel art.
100% match · <shaders><assume><free><sampling><shader><style><view><want> - Custom Renderer Features (Cyanilux)
Long-form Cyanilux guide to URP ScriptableRendererFeature and ScriptableRenderPass code: example effects, RTHandle setup, blit paths, and Unity 6 Render Graph notes.
100% match · <code><shaders><assume><custom><free><implementing><programmers><screen> - Holofoil Card Shader Breakdown (Cyanilux)
Unity URP Shader Graph breakdown of stylized holofoil trading cards: tangent-space view distortion, rainbow sampling, region masks, stencil portal windows, and bloom notes.
100% match · <shaders><assume><direction><free><parts><shader><view><want> - A gentle introduction to shaders (Alan Zucconi)
Alan Zucconi's A gentle introduction to shaders in Unity3D (June 2015) is part one of his Gentle Introduction series on alanzucconi.com, aimed at Unity developers new to GPU programs. It connects vertices, materials, and shaders in Unity's pipeline, covering ShaderLab Properties and SubShader layout, inspector uniforms, Queue tags, ZTest, and the surface-versus-vertex/fragment split for lighting versus effects. Little prior shader knowledge is assumed; fixed-function shaders are skipped as obsolete.
100% match · <shaders><beginner><access><free><programmers><series><shader><source> - A Look at Spyro's Portals - Rendering the Background
Daniel Pokladek's November 2020 post begins a Unity series on Spyro Reignited portal shaders, focusing on the background visible through the opening while later installments cover
100% match · <access><after><basics><free><programmers><series><shader><style> - Believable Caustics Reflections (Alan Zucconi)
Believable Caustics Reflections is Alan Zucconi's September 2019 Unity blog post on faking pool-style ripple caustics without ray tracing, sparked by Florian Gelzenleuchter's popular shader GIF. One tileable texture is sampled twice in a Surface shader at different scales and scroll speeds, combined with min(), then tinted onto albedo with slight RGB UV offsets for dispersion. The walkthrough covers _ST tiling, _Time animation, HDR albedo above 1.0, and Post Processing Stack v2 bloom.
100% match · <shaders><access><beginners><free><main><programmers><shader><want> - Blur Renderer Feature Example/Template for URP / Unity 2021.2 (Alexander Ameye)
Custom Render Passes in Unity is Alexander Ameye's July 2021 ameye.dev note on URP ScriptableRendererFeature and ScriptableRenderPass boilerplate, heavily commented where Unity SRP documentation still feels sparse. The sample applies a two-pass box blur: blit camera color to a temporary buffer, blur vertically then horizontally, with adjustable strength and downsampling.
100% match · <code><shaders><access><custom><free><programmers><screen><shader> - BruteForceGame
Matthieu Houllier's Brute Force studio blog documenting Crumble, a Unity physics platformer released on Steam in late 2020. Devlogs walk through shipped shaders: shell grass ben
100% match · <shaders><earlier><free><lighting><practical><screen><shader><shadow> - Easy Outlines (Daniel Ilett)
Daniel Ilett's June 2021 Bytesize Gamedev article on danielilett.com shows crisp block-color outlines on 3D Unity meshes via Universal Render Pipeline Shader Graph, without post-processing. You build an Unlit URP graph, enable two-sided rendering, and alpha-clip front faces with Is Front Face, Branch, and a 0.5 threshold so only an expanded back-face shell renders.
100% match · <shaders><ilett><access><daniel><free><programmers><series><shader> - Fast Subsurface Scattering (John Austin, May 2020)
John Austin's May 2020 johnaustin.io post adds subsurface scattering to Unity's Universal Render Pipeline for a soft Oculus Quest VR look under tight mobile fill-rate limits. Instead of deferred light-buffer blur, he uses forward wrapped diffuse from a Journal of Graphics Tools paper, with Valve-style wrapping, normalization, and a custom HLSL LightingSubsurface pass.
100% match · <shaders><access><free><lighting><programmers><source><style><hlsl> - Portals Series (Daniel Ilett)
Daniel Ilett’s multi-part portal series recreates Spyro-style skybox gates and full Portal-like rendering in Unity, covering stencil buffers, oblique projection matrices, momentum
100% match · <ilett><access><daniel><followed><free><programmers><series><style> - Shader Fundamentals (CatlikeCoding)
Rendering 2: Shader Fundamentals is Jasper Flick's second Catlike Coding Unity tutorial on how meshes become pixels.
100% match · <shaders><beginner><access><free><light><programmers><series><shader> - Youtube > Makin' Stuff Look Good in Unity
YouTube channel “Makin’ Stuff Look Good in Unity” (UCEklP9iLcpExB8vp_fWQseg) publishes stylized rendering breakdowns - particles, trails, shaders, and URP/HDRP tips for indie polis
100% match · <shaders><video><access><channel><free><series><shader><hlsl> - Youtube > Ned Makes Games
Ned Makes Games YouTube channel covers Unity game dev with emphasis on shaders, rendering tricks, and clear beginner-to-intermediate explanations for hobbyists. Episodes often w
100% match · <shaders><video><access><channel><free><series><shader><hlsl> - A silly diffuse shading model
A silly diffuse shading model is a December 2025 post on the lisyarus graphics blog about a one-liner alternative to classic Lambertian diffuse for tech demos and early…
100% match · <shaders><ambient><author><diffuse><free><light><lighting><matches> - Getting started with BGFX
[video] Getting started with BGFX is a YouTube playlist by Game Coder Nz that walks through the bgfx cross-platform rendering library from a blank project to basic 3D and UI…
100% match · <code><shaders><beginner><video><custom><episode><episodes><free> - Painting Holes in Terrain - Terrain Shaders - Episode 10
[video] Painting Holes in Terrain - Terrain Shaders - Episode 10 is a Ben Cloward tutorial on enabling terrain hole painting in custom Unreal landscape materials and Unity Shader…
100% match · <shaders><video><access><custom><episode><free><series><shader> - Realtime Raytracing in Bevy 0.18 (Solari)
Realtime Raytracing in Bevy 0.18 (Solari) is a December 2025 development post by jms55 on quality and performance work for Solari, Bevy's dynamic ray-traced lighting path planned…
100% match · <code><shaders><free><lighting><sampling><shader><specular><useful> - Eliminate Slope Stretching - Terrain Shaders - Episode 8
Eliminate Slope Stretching is episode 8 of Ben Cloward's terrain shaders series.
100% match · <shaders><video><earlier><episode><episodes><free><normals><sampling> - Minimalist ray-tracing leveraging only acceleration structures
This is an AnKi 3D Engine blog post by Panagiotis Christopoulos Charitos on a lightweight potato-mode ray-tracing path using only acceleration structures and ray queries instead…
100% match · <code><shaders><diffuse><free><implementing><normals><programmers><shader>