scottstts/threejs-awesome-graphics-agent-skills

threejs-temporal-surfaces

Build view-aligned and screen-space surface effects in Three.js.

ソースを見る
リポジトリの原文

見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。

Temporal Surfaces

Choose persistent history or procedural screen-space evolution explicitly. Do not fake accumulation with time-only noise, and do not allocate history for an effect whose complete state is analytic in time.

This skill contains exemplary examples and assets beyond descriptive guidance, they're worth studying, referencing, or even copying. Use them sufficiently when relevant and do NOT blindly skip them.

Pipeline

text
persistent surface: input -> ping-pong state -> blur -> structure -> refraction
procedural surface: time/coverage -> analytic field -> optical normal -> refraction/blur

Read references/ping-pong-accumulation.md for an exact frost pass graph, pointer-history channels, blur and refraction coupling, and implementation defects that must be corrected.

Read the touch-history frost implementation for the previous/deposit/next state transition, reduced blur, static structures, frost-mask composition, and two-scale refraction.

Read references/refractive-window-rain.md and the refractive window rain implementation for layered static and travelling droplets, finite-difference optical normals, background refraction, stochastic disc blur, aspect fill, and presentation.

Rules

  • Separate persistent state, analytic procedural state, and scene color.
  • Preserve separate visible-mask and tilt-response channels.
  • Use half-float for this history path unless a measured lower format is equivalent.
  • Convert per-frame history decay to frame-rate-independent decay.
  • Run the two-pass scene blur at reduced resolution.
  • Pre-render static procedural textures once.
  • Define and test resize/reset behavior for both history targets and static targets.
  • Do not route world footprints, object-UV paint, or simulation-plane wetness here; this skill is view-aligned or screen-space.

Routing boundary

Use $threejs-procedural-vfx for world- or object-space residue and particles. Use $threejs-precipitation-surfaces for world-space rain, puddles, snow, and weather-surface coupling. Use $threejs-procedural-materials when a body must transmit its surroundings through its own volume rather than through a screen-aligned pane. This skill owns view-aligned wet-glass optics and screen-space persistent history.

同じリポジトリから

関連する Skills

すべての Skills
scottstts
コミュニティ

threejs-atmosphere-aerial-perspective

Implement physically motivated sky and aerial-perspective systems in Three.js. Use for planetary atmospheres, ground-to-space transitions, Rayleigh/Mie scattering, precomputed LUTs, depth-based transmittance and inscattering, sun/moon discs, and atmosphere-aware lighting.

導入数
2
GitHub Stars
911
更新日
10月15日
scottstts
コミュニティ

threejs-bloom

Implement production bloom in advanced Three.js scenes. Use for HDR signal ordering, bloom-node controls, dual selective bloom with guaranteed material restoration, scene-relative emissive hierarchy, and effect-isolation diagnostics.

導入数
2
GitHub Stars
911
更新日
10月15日
scottstts
コミュニティ

threejs-camera-direction

Direct advanced Three.js camera systems. Use for scale-aware chase rigs, thrust lag, side/orbit cameras, body-relative up vectors, quaternion handoffs, authored cinematic framing, floating origins, pointer-look controls, camera collision constraints, projection ownership, and lifecycle restoration.

導入数
2
GitHub Stars
911
更新日
10月15日
scottstts
コミュニティ

threejs-exposure-color-grading

Build a measured exposure and grading path in Three.js. Use for a 64x36 encoded luminance meter, asynchronous readback, weighted log-average exposure, asymmetric adaptation, single tone-map ownership, and a generated 32-cube post-tone-map LUT.

導入数
2
GitHub Stars
911
更新日
10月15日