Skip to content
T

threejs-materials-lighting

Light and shade a three.js scene: choose materials

by gamedev-skillsFree

#7222in AI Skills
0In stores

Description

This agent skill helps a developer make a three.js scene look right when meshes render black or flat. It targets three.js r187. It covers ho…

Highlights

  • Choose between PBR and unlit materials
  • Build a light rig with ambient, directional, point and spot lights
  • Set up shadows with the renderer shadow map
  • Add HDR image-based lighting and environment reflections
  • Apply tone mapping for three.js r187

Ratings & Reviews

No ratings yet

Be the first to rate threejs-materials-lighting.

People also visit

T

threejs-materials

Three.js materials - PBR, basic, phong, shader materials, material properties

AI Skills
Get
T

threejs

Building or debugging interactive 3D scenes on the web with Three.js

AI Skills
Get
T

threejs-webgl

Comprehensive skill for Three.js 3D web development

AI Skills
Get
T

Three.js DevTools MCP

Three.js MCP server

AI Skills
Get
T

threejs-lighting

Three.js lighting - light types, shadows, environment lighting

AI Skills
Get
T

threejs-aaa-graphics-builder

Upgrade Three.js games from prototype visuals

AI Skills
Get

threejs-materials-lighting FAQ

Why does my three.js mesh render black?

The skill covers this case. A mesh that renders black or flat usually needs a material choice or a light rig, and the skill walks through both.

Why are my lights too dark?

Lighting has been physically based since r155, so intensities from older tutorials look too dark on current versions. The skill is written for r187.

Does it cover loading 3D models?

No. Model loading belongs to threejs-gltf-loading. This skill covers materials, lights, shadows and environment lighting.

How do I install it?

Run npx skills add https://github.com/gamedev-skills/awesome-gamedev-agent-skills --skill threejs-materials-lighting.

What security audits has it passed?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best threejs-materials-lighting alternatives?

Popular alternatives to threejs-materials-lighting include threejs-materials, threejs and threejs-webgl. See all threejs-materials-lighting alternatives

Developer Stuff

Badges