DepthEdgeFlow
It’s a lightweight technique that reconstructs world position from depth, adds noise-based height perturbation, and uses the result to drive soft alpha transitions near surfaces—creating the illusion of flowing edges without geometry deformation.
Unity Project
Built with Unity 6000.0.62f1 · download the source from GitHub

Dependencies (43)
README
DepthEdgeFlow
Geometry-Free. Suit Mobile.
A lightweight screen-space technique for soft edge FX — no tessellation, no geometry, just depth.
🧠 What is DepthEdgeFlow?
DepthEdgeFlow is a screen-space rendering technique that simulates soft and dynamic edge effects (shorelines, fog, cloudbanks)
without relying on geometry deformation, vertex displacement, or raymarching.
It reconstructs world position from scene depth, then uses height offsets and noise modulation to alter transparency, distortion, or visibility —
all in fragment shader.
💡 Core Idea
At the core, DepthEdgeFlow combines:
- Depth Texture → World Space reconstruction
- Noise-modulated height offsets
- Pixel-wise alpha / distortion / masking
✅ Features
- Geometry-free: no vertex displacement or tessellation
- Mobile-ready: optimized for low-end devices
- Easy to integrate into existing URP pipelines
🧪 Example Use Cases
- 🌊 Shoreline flow without water mesh deformation
- ☁️ Fog, gas, or cloudbank edges with soft dynamic motion
- 🔮 Screen-space "volumetric-lite" effects without raymarching
- 💡 Projected edge effects based on world height and noise

📸 Demo Video
🧩 Compatibility
- Unity URP 12+
- GLES3, Metal, Vulkan
- Mobile and Desktop
📄 License
MIT
Comments
No comments yet. Be the first!

Sign in to join the conversation
Sign In