Texturing & UVs | Unity Shader Code Basics 02
Daniel Ilett
Visit resource ↗Description
This Daniel Ilett YouTube video is part two of Unity Shader Code Basics and focuses on sampling textures with UV coordinates in handwritten Unity shader code rather than Shader Graph.
It explains textures as 2D color arrays, how per-vertex UVs select texels on a mesh, and how to wire those ideas into a continuing shader so a mesh shows a mapped image instead of a flat color. The roughly fourteen-minute runtime sits between a first-shader intro and a later transparency lesson in the same series.
It is aimed at beginners who have written at least one simple Unity shader and want textured materials next. Unity and editing HLSL-style shader files are assumed.
Access is a free YouTube watch page with an on-page description of textures and UVs. No paid course shell is required.
The lesson grounds texture sampling vocabulary before transparency, lighting, or graph-based Unity workflows.
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><free><graph><rather><sampling><shader><style><textures> - Book (w/ Turnable Pages) Breakdown (Cyanilux)
Cyanilux breakdown of a URP spellbook with vertex-shader page turns, flipbook page textures, dual Lit Graphs, pooling C# driver, and optional Blender setup notes.
100% match · <shaders><first><free><graph><page><rather><shader><simple> - Cloud Shader Breakdown (Cyanilux)
Cyanilux Shader Graph tutorial for URP that builds animated cloud decks on a subdivided plane with layered world-space noise, vertex displacement, and depth-based fading at intersections.
100% match · <shaders><based><flat><free><graph><rather><shader><written> - Crystal Shader Breakdown (Cyanilux)
A Cyanilux Shader Graph walkthrough for Unity URP that builds an unlit transparent crystal with object-space Y colour gradients, camera opaque-texture refraction, Fresnel opacity, and HDR glow for bloom.
100% match · <shaders><based><between><color><first><free><graph><rather> - 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><explains><focuses><free><graph><later><one> - Depth (Cyanilux)
Long-form Cyanilux tutorial on Unity depth spaces, Z buffers, Scene Depth sampling, SV_Depth, and world-position reconstruction in URP and HDRP.
100% match · <code><shaders><between><free><graph><rather><sampling><shader> - Dissolve Shader Breakdown (Cyanilux)
URP Shader Graph breakdown by Cyanilux on dissolve effects: Step and noise clip fragments with glowing edges, height-axis variants, and view-space UVs to reduce seam artifacts.
100% match · <shaders><based><focuses><free><graph><mesh><rather><shader> - Fire/Flame Shader Breakdown (Cyanilux)
Shader Graph breakdown of billboard fire on a quad: scrolling noise warps UVs for a flame texture or procedurally generated ellipse shapes, with per-instance randomization.
100% match · <shaders><first><free><graph><rather><sampling><shader><texture> - 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><explains><free><graph><least><rather><shader><texture> - Liquid Shader Breakdown (Cyanilux)
A May 2019 Unity URP Shader Graph breakdown that clips geometry by world height, fakes a liquid top with two-sided back faces, and adds foam plus optional sine wobble.
100% match · <shaders><based><first><free><graph><mesh><rather><shader> - Polar Coordinates (Cyanilux)
Cyanilux's Polar Coordinates (May 2019, updated Dec 2023) is a Shader Graph article on converting Cartesian UVs to polar space with the Polar Coordinates node. It explains Center, Radial Scale, and Length Scale, quotes the generated Unity HLSL, and uses Split so R is distance from center and G is angle from the downward reference (with notes on negative preview values).
100% match · <shaders><beginner><coordinates><free><graph><rather><shader><uvs> - Portal Shader Breakdown (Cyanilux)
Portal Shader Breakdown (May 2019) is a Cyanilux Shader Graph walkthrough for a wormhole portal on a flat unlit quad.
100% match · <shaders><based><coordinates><free><graph><rather><shader><texture> - Swapping Colours (Cyanilux)
Swapping Colours is a February 2023 Cyanilux post on recolouring textures and procedural inputs in Unity Shader Graph for 3D, sprites, UI, or signed-distance shapes. Sections cover Tint, Lerp, channel-packed greys, mask textures, Replace Color, Blend modes, gradient ramps as textures, and palette index lookups.
100% match · <shaders><between><color><free><graph><one><rather><shader> - Sword Slash Shader Breakdown (Cyanilux)
Cyanilux's Sword Slash Shader Breakdown (Dec 2021) is a free Unity blog tutorial for an unlit URP Shader Graph effect on a ring mesh: panning a triangular slash mask and noise over time, like soulercoaster ribbon VFX used in spells. Setup covers ring UVs, textures, and optional downloads; the Graph builds Slash/Length UV animation, comparison masking, edge fades, scrolling noise, Lerp colors with Smoothstep, and optional vertex Scale.
100% match · <shaders><free><graph><mesh><one><rather><shader><texture> - Tentacle Shader Breakdown (Cyanilux)
Tentacle Shader Breakdown is a May 2022 Cyanilux Shader Graph tutorial for Technically A Challenge (Technically Speaking Discord): a tentacle mesh wraps a movable target via vertex displacement and rotation, not tessellation. It walks Mesh setup in Blender, TentacleInteract C# for _Radius and _InteractPos, then vertex graph steps - Smoothstep offset, Z clamp, Rotate About Axis, normal rotation, sine length scaling, and sucker pulsation.
100% match · <shaders><before><first><free><graph><mesh><one><rather> - Tornado Shader Breakdown (Cyanilux)
Tornado Shader Breakdown is a January 2022 Cyanilux post on a stylized tornado built with Unity URP Shader Graph.
100% match · <shaders><free><graph><materials><mesh><rather><shader><vertex> - Whirlpool Shader Breakdown (Cyanilux)
Whirlpool Shader Breakdown (Cyanilux, May 2019) on cyanilux.com walks through an Unlit Shader Graph whirlpool on a scaled Unity plane: polar coordinates shape a vertex funnel and animate seamless noise UVs for a stylized inward swirl. One Minus, Power, and object-space Position build the funnel; Lerp water colours, Time-driven polar UVs, Sample Texture 2D LOD noise with optional Step edge, Fraction spirals, and world-space Simple Noise with Posterize bands add detail.
100% match · <shaders><based><coordinates><first><free><graph><rather><shader> - Daniel Illet
Daniel Ilett's danielilett.com blog centers on Unity shaders and technical art.
100% match · <shaders><ilett><access><before><daniel><free><graph><shader> - 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><before><color><daniel><free><graph> - MinionsArt
Filters tag Built-in RP, URP, Shader Graph, Godot, textures, and asset packs.
100% match · <shaders><access><before><free><graph><shader><texturing><written>