digestweb.dev
Propose a News Source
Support usSponsor
🤝
Curated byFRSOURCE

digestweb.dev

Your essential dose of webdev and AI news, handpicked.

Advertisement

Want to reach web developers daily?

Advertise with us ↗

Back to Daily Feed

Relighting 2D Images with Depth Maps and Three.js

Worth Reading

Originally published on Codrops

View Original Article
Share this article:
Relighting 2D Images with Depth Maps and Three.js

Summary & Key Takeaways ​

• The article explores combining depth maps with Three.js and WebGPU for dynamic image relighting. • It details how to add realistic lighting, surface details, and self-shadowing to 2D images. • TSL (Three.js Shading Language) is utilized for advanced shader effects. • This technique allows for interactive and immersive visual experiences on the web.

Our Commentary ​

This is the kind of creative web graphics work that genuinely excites me. Taking a flat image and giving it depth and dynamic lighting with WebGPU? That's just cool. We're seeing the web platform push boundaries in visual fidelity, and articles like this show us how to get there. I'm already thinking about what kind of interactive art pieces this could enable.

View Original Article
Share this article:
RSS Atom JSON Feed
© 2026 digestweb.dev — brought to you by  FRSOURCE