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

    272
  • Earth

    Earth

    210
  • Next.js Flare

    Next.js Flare

    199
  • Particles ocean

    Particles ocean

    183
  • Triangle LED Hero

    Triangle LED Hero

    119
  • Glass Fractal

    Glass Fractal

    96
  • Interactive Fluid

    Interactive Fluid

    81

More in Shaders

View all
  • Glass Fold

    Glass Fold

    466
  • Shader Animation

    Shader Animation

    3.8K
  • Paper design shader Background

    Paper design shader Background

    699
  • Illos Knowledge Sources

    Illos Knowledge Sources

    49
  • Wave

    Wave

    715
  • Stream Search

    Stream Search

    9
  • LightSpeed

    LightSpeed

    236
  • Stripe like gradient-shader

    Stripe like gradient-shader

    272