<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/webgpu-scanning-effect-with-depth-maps-slxrxidik" -->

---
title: WebGPU Scanning Effect with Depth Maps | daily.dev
description: An exploration of a scanning effect using depth maps, custom shaders, and WebGPU rendering with Three.js and react-three-fiber. The demo showcases three...
canonical: https://daily.dev/posts/webgpu-scanning-effect-with-depth-maps-slxrxidik
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: WebGPU Scanning Effect with Depth Maps | daily.dev
og:description: An exploration of a scanning effect using depth maps, custom shaders, and WebGPU rendering with Three.js and react-three-fiber. The demo showcases three...
og:url: https://daily.dev/posts/webgpu-scanning-effect-with-depth-maps-slxrxidik
og:image: https://api.daily.dev/og/posts/sLXrXidik.png
og:image:alt: WebGPU Scanning Effect with Depth Maps
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# WebGPU Scanning Effect with Depth Maps

**[Codrops](https://daily.dev/sources/codrops)** · 3 min read · 50 upvotes · 1 comments

## Summary

An exploration of a scanning effect using depth maps, custom shaders, and WebGPU rendering with Three.js and react-three-fiber. The demo showcases three variations of the effect by combining depth information with post-processing to create dynamic visual depth. Techniques include image distortion through UV coordinate displacement, procedural dot grid masking, and continuous scan animation using GSAP.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://tympanus.net/codrops/2025/03/31/webgpu-scanning-effect-with-depth-maps/>

---

Tags: [#creative-coding](https://daily.dev/tags/creative-coding), [#game-development](https://daily.dev/tags/game-development), [#react-three-fiber](https://daily.dev/tags/react-three-fiber), [#threejs](https://daily.dev/tags/threejs), [#webdev](https://daily.dev/tags/webdev), [#webgpu](https://daily.dev/tags/webgpu)

[View this post on daily.dev](https://daily.dev/posts/webgpu-scanning-effect-with-depth-maps-slxrxidik)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"WebGPU Scanning Effect with Depth Maps","url":"https://daily.dev/posts/webgpu-scanning-effect-with-depth-maps-slxrxidik","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/webgpu-scanning-effect-with-depth-maps-slxrxidik"},"datePublished":"2025-03-31T10:04:56.118Z","dateModified":"2026-05-28T02:16:49.315Z","description":"An exploration of a scanning effect using depth maps, custom shaders, and WebGPU rendering with Three.js and react-three-fiber. The demo showcases three...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8cd06ce524768eabc27ca4886b7c914d?_a=AQAEuj9","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8cd06ce524768eabc27ca4886b7c914d?_a=AQAEuj9","isAccessibleForFree":true,"articleSection":"Codrops","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Codrops","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/codrops","url":"https://daily.dev/sources/codrops"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/webgpu-scanning-effect-with-depth-maps-slxrxidik","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":50},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"creative-coding,game-development,react-three-fiber,threejs,webdev,webgpu","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Codrops","item":"https://daily.dev/sources/codrops"},{"@type":"ListItem","position":3,"name":"WebGPU Scanning Effect with Depth Maps"}]}
```

