Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

threejs-lighting · calesthio — Claude Code skill: what it does, how to install

Reference guide for configuring lights and shadows in Three.js scenes. Useful when placing light sources, tuning shadow maps, or fixing render artifacts.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add calesthio/OpenMontage --skill threejs-lighting -a claude-code
Open on GitHub

What threejs-lighting does

The skill supplies your AI assistant with implementation patterns for Three.js illumination. It covers standard light sources including AmbientLight, HemisphereLight, DirectionalLight, PointLight, SpotLight, and RectAreaLight. It also details relative performance costs, from cheap ambient fills to resource-heavy area panels.

Shadow configuration receives dedicated attention. The reference covers activating renderer.shadowMap, choosing map algorithms such as PCFSoftShadowMap, and clipping frustums for directional shadow cameras. Specific values for bias and normalBias help resolve shadow acne artifacts.

A notable catch involves RectAreaLight: it functions only with MeshStandardMaterial and MeshPhysicalMaterial, and demands RectAreaLightUniformsLib.init() before use. Skipping uniform initialization will break rendering immediately.

What it helps with

  • select the right Three.js light type based on performance cost
  • configure shadow maps and camera frustums for directional or spot lights
  • eliminate shadow acne artifacts using bias and normalBias
  • set up fast contact shadows using ContactShadows

Example prompts for the agent

  • Set up a directional light with PCF soft shadows in my Three.js scene
  • How do I fix shadow acne on my directional light shadow camera?
  • Add a RectAreaLight with helper and initialize its uniforms

How to install threejs-lighting

1Skills CLI (Vercel)

npx skills add calesthio/OpenMontage --skill threejs-lighting -a claude-code

2Manually: put the files in place

~/.claude/skills/threejs-lighting/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/threejs-lighting/

From the same set28

The whole set →
video-understand calesthio This skill extracts video frames and transcribes audio locally with ffmpeg and Whisper. Use it to inspect video content without API keys. Claude Code CX Codex Cursor +1 1,300installs remotion calesthio Teaches AI agents toolkit-specific Remotion patterns, including custom transition shaders and 30 fps video rules. Claude Code CX Codex Cursor +1 1,200installs video-download calesthio Uses yt-dlp to fetch video, audio, subtitles, or URL metadata. Use it when you need a local file, a selected resolution, or details without downloading media. Claude Code CX Codex Cursor +1 1,200installs lottie-bodymovin calesthio Applies Disney's 12 animation principles to Lottie vector animations. Bridges After Effects setup with runtime JavaScript controls. Claude Code CX Codex Cursor +1 1,100installs create-video calesthio This skill turns a description into a finished video: write what you want to see, and HeyGen generates the script, picks an avatar, adds voiceover and editing. Good for quick demos, explainers and promos without tweaking every detail. Claude Code CX Codex Cursor +1 1,100installs video-toolkit calesthio Automates video creation: generates voiceovers, background music, animates talking heads, and composes scenes with Remotion. Requires Node.js, Python3, ffmpeg, and cloud GPU access (Modal or RunPod). Claude Code CX Codex Cursor +1 1,100installs text-to-speech calesthio Generates speech audio with HeyGen Starfish and lets you choose a voice, speed, and pitch. Useful for voiceovers, narration, and podcasts. Claude Code CX Codex Cursor +1 1,100installs bfl-api Black Forest Labs This skill helps connect BFL FLUX API for image generation and editing. It covers async requests, polling, rate limits, and webhooks. Claude Code CX Codex Cursor +1 1,000installs

Other versions of threejs-lighting

Similar

senior-fullstack sickn33 This skill guides implementation of features spanning interface, backend, database and deployment. It verifies coherence from request through authorization to data access and response handling. Claude Code CX Codex Cursor +1 2,300installs javascript-pro https://github.com/Jeffallan Skill for writing, debugging, and refactoring JavaScript code with ES2023+, async/await, ESM modules, and Node.js APIs. Use it to build vanilla JavaScript applications or optimize performance in browsers and Node.js. Claude Code CX Codex Cursor +1 6,000installs gpui-kit-design-guides longbridge Supplies normative desktop interface rules for GPUI Kit applications. Useful when creating new screens, styling components, or auditing UI against review checklists. Claude Code CX Codex Cursor +1 959installs sketch Hermes Agent (adapted from gsd-build/get-shit-done) Generates 2-3 HTML mockup variants to compare design directions before you commit to production code. Claude Code CX Codex Cursor +1 402installs unit-test-vue-pinia official github Writes and reviews unit tests for Vue 3, TypeScript, Vitest and Pinia code. Useful when your tests reach into component internals instead of behavior. GitHub Copilot 1,800installs nextjs-developer https://github.com/Jeffallan Configures Next.js 14+ application architecture using App Router, React Server Components, and Server Actions. Useful when setting up SSR streaming, SEO metadata, and Vercel deployments. Claude Code CX Codex Cursor +1 5,700installs frontend-design official anthropics This skill guides intentional visual design for new interfaces and redesigns. Use it when a generic generated UI is not enough. Claude Code Claude.ai 1,025,790installs design-taste-frontend Leonxlnx This skill directs the design of public pages and work screens, then checks the result in a browser through screenshots. Use it when an interface feels generic or unfinished. Claude Code CX Codex Cursor +1 673,100installs

Questions about threejs-lighting

How do I install threejs-lighting in Claude Code?

Run npx skills add calesthio/OpenMontage --skill threejs-lighting -a claude-code. The file will be placed at ~/.claude/skills/threejs-lighting/SKILL.md.

What does threejs-lighting do?

It provides code patterns and reference tables for Three.js lights, shadow camera settings, bias adjustments, and fake contact shadows.

What are the limitations of RectAreaLight?

It only works alongside MeshStandardMaterial or MeshPhysicalMaterial and does not support native shadows. You must also execute RectAreaLightUniformsLib.init() prior to creating the light.

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor