VGPU

WGSL in three.js

Shaders 21

About

Author a procedural lava material as plain WGSL modules and wire them into a three.js node material — twelve surface slots, all driven from shader source.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds WGSL in three.js to your project and fits it to your theme.

Code

How WGSL in three.js is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Component from "@/components/ui/three-tsl";

export default function Default() {
  return (
    <div className="fixed inset-0 h-screen w-screen overflow-hidden bg-black">
      <Component />
    </div>
  );
}

More by VGPU

View all
  • Black Hole

    Black Hole

    1.4K
  • Optimized Black Hole

    Optimized Black Hole

    273
  • Earth

    Earth

    211
  • Next.js Flare

    Next.js Flare

    200
  • Particles ocean

    Particles ocean

    184
  • Triangle LED Hero

    Triangle LED Hero

    120
  • Glass Fractal

    Glass Fractal

    99
  • Interactive Fluid

    Interactive Fluid

    82

More in Shaders

View all
  • Glass Fold

    Glass Fold

    499
  • Shader Animation

    Shader Animation

    3.9K
  • Parallel Waves

    Parallel Waves

    13
  • Radial Shader

    Radial Shader

    149
  • Phosphor 30

    Phosphor 30

    314
  • Stream Search

    Stream Search

    22
  • Illos Knowledge Sources

    Illos Knowledge Sources

    55
  • Paper design shader Background

    Paper design shader Background

    700