threejs-bloom

threejs-bloom is a skill for Codex from linegel/threejs-complete-set-of-skill. It costs 48 tokens per session (1,466 once invoked), scanned A, original, ISC.

A technical guide for adding bloom, the soft glow around very bright parts of a rendered Three.js scene, using WebGPU and TSL. It covers full-scene glow, selected glowing surfaces, and combinations of both.

In plain words
What is it for?
Use it when designing or checking bloom input, choosing which scene signals should glow, and setting viewport, exposure, and performance limits.
Why use it?
It helps prevent glow from hiding unclear materials, lighting, silhouettes, or highlight details before the effect is applied.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: $skill-name invocation.

Good fit Use it when designing or checking bloom input, choosing which scene signals should glow, and setting viewport, exposure, and performance limits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/linegel/threejs-complete-set-of-skill/threejs-bloom
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add linegel/threejs-complete-set-of-skill --skill threejs-bloom
Clone the repo
git clone --depth 1 https://github.com/linegel/threejs-complete-set-of-skill

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for threejs-bloom

README.md
[![agentmods](https://agentmods.dev/badge/skills/linegel/threejs-complete-set-of-skill/threejs-bloom/github.svg)](https://agentmods.dev/skills/linegel/threejs-complete-set-of-skill/threejs-bloom)
Your own site
<a href="https://agentmods.dev/skills/linegel/threejs-complete-set-of-skill/threejs-bloom"><img src="https://agentmods.dev/badge/skills/linegel/threejs-complete-set-of-skill/threejs-bloom/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for threejs-bloom

Your own site · 80×15
<a href="https://agentmods.dev/skills/linegel/threejs-complete-set-of-skill/threejs-bloom"><img src="https://agentmods.dev/badge/skills/linegel/threejs-complete-set-of-skill/threejs-bloom.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,466 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00048 $0.01466
Opus 5 $0.00024 $0.00733
Sonnet 5 $0.00010 $0.00293
Haiku 4.5 $0.00005 $0.00147

Measured 11d ago against content hash 86bf7464bb4a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

threejs-bloom scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/threejs-bloom/SKILL.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bloom

Treat bloom as the broad tail of an imaging point-spread function. Its closest built-in optical input is all scene-linear HDR radiance. Selective contribution is an art-direction branch, not an automatic quality upgrade.

1. Validate the source scene

Capture scene-linear HDR, false-color pre-tone luminance, and the final image with bloom disabled. Repair the source when highlights were clamped or when silhouette, material, or lighting identity disappears without bloom.

This step is complete when the bloom-off scene remains readable and the input is unclamped scene-linear HDR in a declared working basis.

2. Choose the signal

Contract Signal Admission test
optical glare from emission, direct response, reflection, transmission, sky, and sun full scene HDR a luminance threshold and knee meet contributor error limits
named surfaces glow differently from equally bright radiance selective emissive contribution full-scene threshold cannot meet those limits and the MRT delta fits
optical highlights plus deliberate boost scene HDR plus selective boost both components are required and the shared attachment is charged once
source scene fails without glare or all bloom tiers miss a gate defer bloom source is repaired or budget/viewport changes

Stabilize exposure before comparing branches. Inspect both false-positive and false-negative bloom energy, including bright mirrors and transmissive surfaces.

This step is complete when one source branch is named, its omissions are accepted, and its contribution error and target-device cost meet declared limits.

3. Build one scene pass

Use one HDR scene traversal for both full-scene and selective bloom. Full-scene bloom reads the scene output. Selective bloom adds an emissive MRT output to the same pass and gives it BlendMode(MaterialBlending) so transparent contributions follow the material blend state.

In r185, material-level mrtNode merging can lose the operative blend-mode map. Keep the canonical selective path on the regular emissiveNode; use a separate measured contribution pass or source-verified custom merge only when visible emission and bloom contribution must diverge.

Read the full file on GitHub · 149 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 149 lines · 48 tokens per session scan A 86bf7464bb4a

Subscribe to this mod's changes

threejs-bloom is a skill published in the GitHub repository linegel/threejs-complete-set-of-skill (6 stars, last pushed 1mo ago), licensed ISC. It adds 48 tokens to every session and 1,466 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.