threejs-ambient-contact-shading skillA
threejs-ambient-contact-shading is agent-read markdown (skill) from linegel/threejs-complete-set-of-skill: Ground indirect lighting with ambient visibility in Three.js r185 WebGPU/TSL. Use when choosing authored material AO, dynamic GTAO, forward-lighting placement, reduced-resolution reconstruction, temporal AO, or bent normals..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# Ambient Contact Shading AO is visibility of indirect illumination. It may attenuate indirect diffuse and environment/specular response. Direct light, emission, UI, and the tone-mapped frame remain invariant. `$threejs-choose-skills` is an optional multi-system coordinator. Use `$threejs-image-pipeline` when AO shares depth, normals, velocity, history, or final-output ownership. ## 1. Choose the ambient-visibility branch Use the first branch whose gate passes: | Gate | Branch | Consequence | | --- | --- | --- | | Required occlusion is static/local and can be authored in assets | material `aoMap` / `aoNode` | One forward render; no dynamic inter-object contact. | | Dynamic screen contact is required and the renderer exposes indirect lighting separately | apply GTAO visibility to that term | One geometry pass can remain possible. | | Stock forward `NodeMaterial` needs dynamic contact and the complete marginal cost passes | depth/normal pass -> GTAO -> optional reconstruction -> second lit pass with `builtinAOContext()` | Correct placement costs two scene traversals. | …
Read the whole file at its exact version.
How to install
mdr add linegel/threejs-complete-set-of-skill/threejs-ambient-contact-shading@git:20260716.62a9bc5mdr add linegel/threejs-complete-set-of-skill/threejs-ambient-contact-shading@sha256:3918c3ab890fe58aPin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_yxisqj7ltti6ms5n)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260716.62a9bc5 latest | 2026-07-16 | 62a9bc5 | 8,727 B | A | view · diff |
| git:20260716.2ce13bc | 2026-07-16 | 2ce13bc | 7,463 B | A | view · diff |
| git:20260713.f0e8d5c | 2026-07-13 | f0e8d5c | 46 B | C | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8727 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
linegel/threejs-complete-set-of-skill · 9 stars · license ISC · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_yxisqj7ltti6ms5n GET https://markdownregistry.com/api/v1/resolve?ref=linegel/threejs-complete-set-of-skill/threejs-ambient-contact-shading GET https://markdownregistry.com/api/v1/blob/3918c3ab890fe58acc5625212d051a6eea6913dbec97416d90e1fa2073e9a09f
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.