threejs-procedural-materials skillA
threejs-procedural-materials is agent-read markdown (skill) from linegel/threejs-complete-set-of-skill: Procedural materials for coherent NodeMaterial PBR systems in Three.js WebGPU/TSL. Use when a task needs shared identities across PBR channels, must select UV, array, atlas, or projected mapping, needs footprint-filtered normals and specular AA, or needs dynamic per-instance material state with explicit output ownership..
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
# Procedural Materials Build a cause graph, not a collection of channel effects: ```text stable coordinates -> structural causes -> identity weights -> causal modifiers -> filtered microstructure -> NodeMaterial PBR slots -> final-image owner ``` Use `MeshStandardNodeMaterial` for standard opaque/emissive PBR and `MeshPhysicalNodeMaterial` only when its extra lobes or transport properties are part of the surface. Keep Three.js lighting, environment, shadows, and energy handling by assigning node slots instead of replacing the whole fragment output. For multi-system scenes, `$threejs-choose-skills` is an optional coordinator. Fields own shared scalar/vector causes, geometry owns silhouettes, water owns surface/transport, and the final-image pipeline owns tone mapping and display conversion. Consume each dynamic or cross-system cause with declared units, coordinate/frame convention, producer and consumer owners, revision, spatial/temporal support and filter, validity domain, error bound, update cadence, and staleness rule. A visual material state does not become another simulation owner. Initialize and gate the renderer before allocating storage, dispatching …
Read the whole file at its exact version.
How to install
mdr add linegel/threejs-complete-set-of-skill/threejs-procedural-materials@git:20260716.62a9bc5mdr add linegel/threejs-complete-set-of-skill/threejs-procedural-materials@sha256:aaaad45d3aef29e0Pin 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_me64bu2kpuxsy6ut)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260716.62a9bc5 latest | 2026-07-16 | 62a9bc5 | 9,575 B | A | view · diff |
| git:20260716.2ce13bc | 2026-07-16 | 2ce13bc | 9,004 B | A | view · diff |
| git:20260713.f0e8d5c | 2026-07-13 | f0e8d5c | 43 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 (9575 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_me64bu2kpuxsy6ut GET https://markdownregistry.com/api/v1/resolve?ref=linegel/threejs-complete-set-of-skill/threejs-procedural-materials GET https://markdownregistry.com/api/v1/blob/aaaad45d3aef29e0faf4bbfa877a1d7649023946e019f6c9f5182e17b8373aa6
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.