threejs-shaders

Installation
SKILL.md

Three.js Shaders

Quick Start

import * as THREE from "three";

const material = new THREE.ShaderMaterial({
  uniforms: {
    time: { value: 0 },
    color: { value: new THREE.Color(0xff0000) },
  },
  vertexShader: `
    void main() {
      gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
    }
  `,
  fragmentShader: `
    uniform vec3 color;
Installs
4.8K
GitHub Stars
2.4K
First Seen
Jan 20, 2026
threejs-shaders — cloudai-x/threejs-skills