Back to videos

How to Create a Lenticular Material with TSL and WebGPU

Overview

Ever seen an image that changes when you tilt it? That’s called a lenticular effect—and in this tutorial, I’ll show you how to recreate it on the web using Three.js, WebGPU, and Three Shading Language (TSL).

Create a Lenticular Material with TSL and WebGPU

The same illusion can be incredibly useful in interactive storytelling, portfolio effects, or even in 3D product showcases where you want multiple visuals in one view.

Insights and Skills

You’ll learn how to:

  • How to use React Three Fiber with WebGPU

  • Three Shading Language (TSL): A new way to write shaders in the world of Three.js.

  • Node-based materials in React Three Fiber: Build complex visual logic without writing raw GLSL.

Tech Stack

Experience the project in action

#threejs #js #reactjs

Need help with this tutorial? Join our Discord community!