Swapping Colours (Cyanilux)
Cyanilux
Visit resource ↗Description
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. Examples cite RTS team colours, foliage variants, VFX ramps, and pixel-art palettes, with tradeoffs on memory, mobile dependent reads, and HSV versus linear lerps.
Intermediate readers should know Shader Graph properties and transparency; Node Library HLSL links and cross-references to gradient and layering posts are included.
Kenney sprite screenshots follow the usual free Cyanilux breakdown layout on cyanilux.com.
Useful for runtime palette swaps without duplicating textures; commonly linked among Unity shader practitioners.
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><intermediate><blog><cyanilux><annotated><assume><breakdown><catalog> - 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><intermediate><blog><cyanilux><also><annotated><assume><breakdown> - 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><intermediate><blog><cyanilux><also><annotated><assume><breakdown> - 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><intermediate><blog><cyanilux><also><annotated><assume><between> - 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 · <shaders><blog><cyanilux><also><assume><breakdown><catalog><entry> - 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 · <shaders><blog><cyanilux><assume><between><breakdown><catalog><entry> - 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><intermediate><blog><cyanilux><also><annotated><assume><breakdown> - 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><intermediate><blog><cyanilux><annotated><assume><breakdown><catalog> - New AMD Radeon Developer Tool Suite update brings shader source code, Extended PIX Markers, and command-line capture
New AMD Radeon Developer Tool Suite update brings shader source code, Extended PIX Markers, and command-line capture is a technical blog article by Chris Hesik. AMD GPUOpen…
100% match · <shaders><intermediate><blog><developers><free><one><read><shader> - Announcing AgilitySDK 721 Preview and an addition to LinAlg in Shader Model 6.10
Announcing AgilitySDK 721 Preview and an addition to LinAlg in Shader Model 6.10 is a technical blog article by Amar Patel. DirectX Developer Blog announcing Agility SDK…
100% match · <shaders><intermediate><blog><developers><free><intended><model><one> - Partial Graphics Programs
Partial Graphics Programs is a technical blog article by Nada Ouf. DirectX Developer Blog detailing Partial Graphics Programs in Agility SDK 1.721-preview: split pipeline…
100% match · <shaders><blog><developers><free><link><one><read><shader> - On Rendering the Sky, Sunsets, and Planets
On Rendering the Sky, Sunsets, and Planets is a technical blog article by Maxime Heckel. Maxime Heckel write-up on implementing atmospheric scattering in the browser for…
100% match · <shaders><intermediate><blog><developers><examples><free><one><read> - D3D12 LinAlg Matrix Preview
D3D12 LinAlg Matrix Preview is a technical blog article by Ashley Coleman. DirectX Developer Blog post by Ashley Coleman announcing the D3D12 Linear Algebra Matrix preview APIs…
100% match · <shaders><blog><developers><examples><free><model><one><read> - Announcing Shader Model 6.10 Preview and AgilitySDK 720 Preview
Announcing Shader Model 6.10 Preview and AgilitySDK 720 Preview is a technical blog article by Amar Patel. DirectX Developer Blog announcement by Amar Patel of Shader Model 6.10…
100% match · <shaders><intermediate><blog><developers><free><index><model><one> - Single-pass palette refinement and ordered dithering
Single-pass palette refinement and ordered dithering is a technical blog article by Pekka Väänänen. Experiment showing online k-means color quantization that produces ordered…
100% match · <intermediate><blog><color><effect><free><one><online><read> - Custom SRP 6.2.0 3D Color LUT
Custom SRP 6.2.0 3D Color LUT is a technical blog article by Jasper Flick. Catlike Coding Custom SRP tutorial that upgrades the color-grading LUT from a simulated 2D strip to a…
100% match · <shaders><blog><color><free><graph><one><read><shader> - Simplifying Vulkan One Subsystem at a Time
Simplifying Vulkan One Subsystem at a Time is a February 2026 Khronos blog post by Tobias Hector (AMD / Vulkan Strategy Officer) on cutting Vulkan API complexity through…
100% match · <blog><developers><forms><free><full><intended><model><one> - 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><intermediate><blog><free><full><model><one><screenshots> - Eliminate Slope Stretching - Terrain Shaders - Episode 8
Eliminate Slope Stretching is episode 8 of Ben Cloward's terrain shaders series.
100% match · <shaders><intermediate><color><free><graph><link><one><shader> - Better Tile Breakup - Terrain Shaders - Episode 7
Better Tile Breakup - Terrain Shaders - Episode 7 is a Ben Cloward tutorial on a stronger method for breaking terrain texture tiling than the rotation approach from earlier in…
100% match · <shaders><intermediate><free><graph><procedural><read><shader><texture>