VGPU

Three.js WGSL modules

Shaders 8

About

Turn one exported WGSL function into a callable Three.js TSL node and use it on a physical material.

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

Code

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

Usage.tsx

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

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

    260
  • Earth

    Earth

    204
  • Next.js Flare

    Next.js Flare

    191
  • Particles ocean

    Particles ocean

    177
  • Triangle LED Hero

    Triangle LED Hero

    111
  • Glass Fractal

    Glass Fractal

    89
  • Interactive Fluid

    Interactive Fluid

    80

More in Shaders

View all
  • Glass Fold

    Glass Fold

    354
  • Wave

    Wave

    704
  • Phosphor 30

    Phosphor 30

    301
  • Shader Animation

    Shader Animation

    3.8K
  • Old Television Shader

    Old Television Shader

    410
  • Illos Webhook Setup

    Illos Webhook Setup

    9
  • Radial Shader

    Radial Shader

    144
  • Background Shader

    Background Shader

    316