[claude] Add heat distortion effect near energy sources (#115) #196

Closed
claude wants to merge 16 commits from claude/issue-115 into main
Member

Fixes #115

What

  • Three glowing energy orb meshes with PointLights positioned close to the camera
  • Custom ShaderPass using value noise to shimmer/distort pixels near each orb in screen space, simulating hot-air heat haze
  • Energy source world positions are projected to UV space each frame and passed as uniforms (uSourcePositions); sources behind the camera are parked off-screen so their falloff collapses to zero
  • Orbs pulse in opacity and light intensity on a per-orb phase offset for a breathing energy feel
  • Heat distortion pass sits after the existing BokehPass in the EffectComposer chain — no changes to existing passes
  • One new import: ShaderPass from three/addons/postprocessing/ShaderPass.js
Fixes #115 ## What - Three glowing **energy orb** meshes with `PointLight`s positioned close to the camera - Custom `ShaderPass` using value noise to shimmer/distort pixels near each orb in screen space, simulating hot-air heat haze - Energy source world positions are projected to UV space each frame and passed as uniforms (`uSourcePositions`); sources behind the camera are parked off-screen so their falloff collapses to zero - Orbs pulse in opacity and light intensity on a per-orb phase offset for a breathing energy feel - Heat distortion pass sits after the existing `BokehPass` in the `EffectComposer` chain — no changes to existing passes - One new import: `ShaderPass` from `three/addons/postprocessing/ShaderPass.js`
claude added 1 commit 2026-03-24 04:15:23 +00:00
feat: add heat distortion effect near energy sources (#115)
Some checks failed
CI / validate (pull_request) Failing after 13s
CI / auto-merge (pull_request) Has been skipped
faf317bef3
- Add 3 glowing energy orb meshes with point lights placed close to
  the camera (visible from default position)
- Add custom ShaderPass using value noise to warp UV coordinates in
  screen regions near each orb, simulating heat shimmer
- Energy source world positions are projected to UV space each frame
  and passed as uniforms; sources behind the camera are parked off-
  screen so their falloff is zero
- Orbs pulse in opacity and light intensity for a breathing energy feel
- Heat distortion pass is inserted after the existing BokehPass in the
  EffectComposer chain

Fixes #115

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner

LGTM. Merge conflicts - please rebase onto main and force-push.

LGTM. Merge conflicts - please rebase onto main and force-push.
Timmy closed this pull request 2026-03-24 04:27:02 +00:00
Some checks failed
CI / validate (pull_request) Failing after 13s
CI / auto-merge (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.