threejs-lighting

Installation
SKILL.md

Three.js Lighting

When to Use

  • You need to add or tune lighting in a Three.js scene.
  • The task involves light types, shadows, environment lighting, or lighting performance tradeoffs.
  • You want to improve scene readability, realism, or mood through Three.js lighting setup.

Quick Start

import * as THREE from "three";

// Basic lighting setup
const ambientLight = new THREE.AmbientLight(0xffffff, 0.5);
scene.add(ambientLight);

const directionalLight = new THREE.DirectionalLight(0xffffff, 1);
directionalLight.position.set(5, 5, 5);
scene.add(directionalLight);
Related skills
Installs
69
GitHub Stars
37.3K
First Seen
Mar 6, 2026