Le Thanh

3D Textured Cube

Shaders

About

This React component renders a fully interactive 3D scene using WebGL2. * The main feature is a rotating cube with unique image textures on each of its * The cube's rotation can be controlled * by clicking and dragging the mouse.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds 3D Textured Cube to your project and fits it to your theme.

Code

How 3D Textured Cube is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { GLSLShaderCube } from "@/components/ui/3d-textured-cube";

export default function DemoOne() {
  return <GLSLShaderCube />;
}

More by Le Thanh

View all
  • Interactive Image Accordion

    Interactive Image Accordion

    4.4K
  • Interactive Selector

    Interactive Selector

    2.8K
  • Gradient Menu

    Gradient Menu

    2.4K
  • Animated Shader Background

    Animated Shader Background

    2.1K
  • Shader Background

    Shader Background

    2K
  • Waitlist Hero

    Waitlist Hero

    1.8K
  • Image Comparison Slider

    Image Comparison Slider

    1.6K
  • Login Form

    Login Form

    1.5K

More in Shaders

View all
  • Glass Fold

    Glass Fold

    498
  • Shader Animation

    Shader Animation

    3.9K
  • Parallel Waves

    Parallel Waves

    13
  • Phosphor 30

    Phosphor 30

    314
  • Stream Search

    Stream Search

    20
  • Radial Shader

    Radial Shader

    149
  • Illos Knowledge Sources

    Illos Knowledge Sources

    55
  • Paper design shader Background

    Paper design shader Background

    700