Recreating Civ VI Fog of War Effect (Lexdev)
Lexdev
Visit resource ↗Description
Lexdev’s case study rebuilds Civilization VI - style fog of war in Unity using shader tricks that hide unexplored terrain while keeping explored areas readable.
Explains texture masks, blending, and map interaction constraints typical of 4X strategy cameras. Targets URP/HDRP-agnostic surface or full-screen approaches with sample project files.
Intermediate Unity TA readers studying strategy UI clarity rather than photorealism. Linked from graphics Twitter when discussing stylized map overlays.
Free tutorial with before/after captures; complements general fog-of-war GDC slides with hands-on code.
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><catalog><cyanilux><developers><effect><free> - 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><catalog><cyanilux><developers><effect><free> - 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><catalog><cyanilux><developers><effect><free> - 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><catalog><cyanilux><developers><effect><free> - 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><blog><catalog><cyanilux><example><free><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><blog><about><bit><catalog><cyanilux><free> - 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><catalog><cyanilux><developers><effect><example> - 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><catalog><cyanilux><developers><effect><free> - 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><article><developers><free><one><programmers> - 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 · <code><shaders><intermediate><blog><article><developers><free><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 · <code><shaders><blog><article><developers><following><free><one> - 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><article><developers><free><one><programmers> - Triangle Tessellation with Clamped Parallelograms
Triangle Tessellation with Clamped Parallelograms is a technical blog article by John Hable. John Hable derives a compute-friendly triangle tessellation algorithm using clamped…
100% match · <code><blog><article><compute><even><free><one><programmers> - Making cross-platform SIMD code pleasant
Making cross-platform SIMD code pleasant is a technical blog article by Branimir Karadžić. Blog post by Branimir Karadžić on the typeless SIMD design in the bx library.
100% match · <code><intermediate><blog><article><before><developers><free><one> - Quantizing tangent frames
Quantizing tangent frames is a technical blog article by Arseny Kapoulkine. Blog post by Arseny Kapoulkine comparing compact encodings for orthonormal tangent frames, including…
100% match · <code><blog><article><bit><free><one><prior><programmers> - 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 · <code><shaders><blog><article><compute><developers><free><one> - Slug Algorithm (WebGPU)
Slug Algorithm (WebGPU) is an open-source diffusionstudio GitHub repository that ports Eric Lengyel's Slug vector text algorithm to WebGPU with WGSL shaders. It covers CPU text…
100% match · <code><shaders><intermediate><access><developers><example><follow><free> - How to Not be Scared of SPIR-V
Vulkanised 2026 talk by Spencer Fricke of LunarG on demystifying SPIR-V for graphics developers.
100% match · <code><shaders><intermediate><bit><developers><example><follow><free> - 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><about><article><before><free><one> - An Experimental Approach to printf in HLSL
An Experimental Approach to printf in HLSL is a December 2025 technical post by Chris Bieneman describing a holiday prototype for GPU-side printf in HLSL. It covers GPU string…
100% match · <code><shaders><blog><article><compute><free><linked><shader>