Skip to content
Join free
MengTo

Light A Threejs Workspace skill

Construct a procedural Three.js desk interior with textured furniture, a window and blinds, shadowed volumetric daylight, and coupled lighting presets.

$npx alyn-cli add light-a-threejs-workspace
View this skill on GitHubMengTo/Skills/agent-skills/3d/light-a-threejs-workspace/SKILL.md
Pack stars
8,014
Pack installs
302k
Alyn Score
74/99
Updated
2 days ago
License
MIT

What is the Light A Threejs Workspace skill?

Light A Threejs Workspace is a game development skill by MengTo for Claude Code, Cursor, Codex and other AI coding agents. Construct a procedural Three.js desk interior with textured furniture, a window and blinds, shadowed volumetric daylight, and coupled lighting presets.

Block the desk, window, floor, monitor and chair in a single world coordinate system. Set the camera and choose the sun direction before detailing props. Leave visible receivers for the light: a matte wall, a wood top, and a dark object crossing the beam make different errors visible.

What the SKILL.md covers

  • Build surfaces at real scale
  • Integrate shafts through visible air
  • Verify the coupling
Author
MengTo
Pack
MengTo/Skills (30 skills)
Category
Game development, #50 of 119
Alyn Score
74 / 99
Files
6, includes scripts, includes references
License
MIT
Last updated
2 days ago
Works with
Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot

Light A Threejs Workspace compared to similar skills

SkillAlyn ScoreGitHub starsUpdated
Light A Threejs Workspace · MengTo748k2 days ago
Threejs Aaa Graphics Builder · majidmanzarpour672.9k2 months ago
Threejs Loaders · aiskillstore634932 days ago
Threejs Webgl · freshtechbro551.4k12 months ago

Install Light A Threejs Workspace

Pick your agent. Every command is ready to paste.

$npx alyn-cli add light-a-threejs-workspace

Detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

$npx skills add MengTo/Skills --skill light-a-threejs-workspace

Or use the open skills CLI directly.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads light-a-threejs-workspace when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the light-a-threejs-workspace skill”. In Codex, type $light-a-threejs-workspace.

The skill itself

SKILL.md

FolderGitHub

Light a Three.js workspace

Block the desk, window, floor, monitor and chair in a single world coordinate system. Set the camera and choose the sun direction before detailing props. Leave visible receivers for the light: a matte wall, a wood top, and a dark object crossing the beam make different errors visible.

Build surfaces at real scale

  • Give the sill and wall opening thickness. Instance the blind slats. Share their spacing, tilt, opening height and wind phase between visible geometry and any analytical window-visibility function.
  • Generate seeded wood grain along the board’s long axis. Vary pore frequency and roughness at a finer scale than the color grain. Mip-map repeated materials and use anisotropy where the desktop recedes. Give the top and end grain different UV orientations when they are both visible.
  • Round silhouette edges that should catch light. Separate the monitor shell, stand, emissive display, keyboard caps and chair base so metal, glass, paint and upholstery respond independently. Keep the monitor and turning stand beneath the same pivot.
  • Light the room with a window key, broad sky fill and a practical lamp. Use linear color for lighting and tone-map once at output. Change direction, exposure, emissive color and sky/sun ratio together for a time-of-day preset. A storm favors diffuse skylight. Moonlight needs direction and a readable exposure.

Integrate shafts through visible air

Render opaque geometry with a sampleable depth texture. Reconstruct the eye ray and first surface from the projection used for that frame. March only through the room interval in front of that surface. For each world-space sample, project toward the sun to test the window aperture and blind occlusion. If an object outside or inside can cast into the shaft, include its light-space depth or transmittance in that test.

For a segment of length ds with extinction sigmaT and scattering sigmaS, use a step-size-independent accumulation:

float remain = exp(-sigmaT * ds);
scatter += transmission * (1. - remain) * (sigmaS / sigmaT)
         * visibleSun * sunRadiance * phase;
transmission *= remain;

Add the attenuated surface radiance after the march. Keep extinction positive or use its zero-density limit. Jitter sample positions slightly to break up march bands. If the integration target runs at reduced resolution, use scene depth when resolving across plant, slat and monitor silhouettes. Sparse dust motes can reveal motion inside the volume.

Verify the coupling

Move the blind slowly while looking at a beam and its landing on the desk. Both should change from the same aperture. Slide the camera sideways and check that air stays behind the monitor. Compare a low and high sample count at fixed density; beam energy should stay close. Freeze wind and time when comparing images. Check a 2× frame for wood shimmer and stair-stepped blind shadows.

The desk study isolates the depth-clipped shaft integration, procedural wood, and adjustable blinds in a small room.

Tips for Light A Threejs Workspace

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • This skill ships scripts. Read them before the first run, and run it in a project without secrets first.
  • • It bundles reference files. The agent reads them only when needed, so they cost no context until then.
  • • It is part of a pack with 30 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Light A Threejs Workspace

What does the Light A Threejs Workspace skill do?

Construct a procedural Three.js desk interior with textured furniture, a window and blinds, shadowed volumetric daylight, and coupled lighting presets.

How do I install Light A Threejs Workspace?

Run "npx alyn-cli add light-a-threejs-workspace" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Light A Threejs Workspace work in Cursor and Codex?

Yes. Light A Threejs Workspace uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

What is inside the Light A Threejs Workspace skill?

The SKILL.md covers Build surfaces at real scale, Integrate shafts through visible air, Verify the coupling, and the skill folder has 6 files including scripts.

What is a good alternative to Light A Threejs Workspace?

Threejs Aaa Graphics Builder by majidmanzarpour is the highest-ranked similar skill from another creator, with an Alyn Score of 67 compared to 74 for Light A Threejs Workspace.

Is Light A Threejs Workspace free?

Light A Threejs Workspace is open source on GitHub under the MIT license. It is free to install; check the license before commercial use.

Who made Light A Threejs Workspace?

Light A Threejs Workspace is published by MengTo in the MengTo/Skills repository, together with 29 other skills.

Similar skills. From other creators.