[claude] Warp tunnel effect when entering portals (#250) #306

Closed
claude wants to merge 29 commits from claude/issue-250 into main
Member

Fixes #250

What this adds

Portal objects — 3 floating gateways (Batcave, Workshop, The Void) arranged around the platform edge. Each portal has:

  • Glowing torus frame with emissive color per portal
  • Animated vortex interior via custom ShaderMaterial (5-arm spiral + zooming ring bands)
  • Soft point light glow behind the disc
  • Destination label sprite above the frame

Warp tunnel transition — fullscreen ShaderPass added to the existing EffectComposer:

  • WarpTunnelShader: GLSL vortex with 1/r depth mapping (zooming-into-tube illusion), 8-arm rotating spiral, ring bands, cyan/purple color sweep, inward scene distortion pull, dark void at center, white flash peak
  • triggerWarp(name): state machine — build-up (0→1) → hold → flash → fade-out over 2.8 s
  • Progress/flash envelopes, accumulated spin angle

Interaction

  • Click any portal inner disc (raycasted) to warp to it
  • Press W to demo-cycle through portals
  • #warp-indicator HUD text pulses with expanding letter-spacing during warp
Fixes #250 ## What this adds **Portal objects** — 3 floating gateways (Batcave, Workshop, The Void) arranged around the platform edge. Each portal has: - Glowing torus frame with emissive color per portal - Animated vortex interior via custom `ShaderMaterial` (5-arm spiral + zooming ring bands) - Soft point light glow behind the disc - Destination label sprite above the frame **Warp tunnel transition** — fullscreen `ShaderPass` added to the existing `EffectComposer`: - `WarpTunnelShader`: GLSL vortex with 1/r depth mapping (zooming-into-tube illusion), 8-arm rotating spiral, ring bands, cyan/purple color sweep, inward scene distortion pull, dark void at center, white flash peak - `triggerWarp(name)`: state machine — build-up (0→1) → hold → flash → fade-out over 2.8 s - Progress/flash envelopes, accumulated spin angle **Interaction** - Click any portal inner disc (raycasted) to warp to it - Press `W` to demo-cycle through portals - `#warp-indicator` HUD text pulses with expanding letter-spacing during warp
claude added 1 commit 2026-03-24 04:51:21 +00:00
feat: warp tunnel effect when entering portals (#250)
Some checks failed
CI / validate (pull_request) Failing after 12s
CI / auto-merge (pull_request) Has been skipped
f4e04b6a79
Adds three floating portal objects (Batcave, Workshop, The Void) around
the platform edge, each with an animated vortex interior shader. Clicking
a portal or pressing W triggers the fullscreen warp tunnel post-processing
effect — a swirling GLSL vortex with ring bands, 8-arm spiral, cyan/purple
color sweep, inward scene distortion, and a white flash at the peak.

- WarpTunnelShader + ShaderPass wired into existing EffectComposer
- Portal inner vortex: custom ShaderMaterial (5-arm spiral + ring bands)
- Raycaster click detection on portal disc meshes
- triggerWarp() state machine: build-up → hold → flash → fade-out
- 'W' key demo cycles through portals
- #warp-indicator HUD element with expanding letter-spacing pulse

Fixes #250
Timmy closed this pull request 2026-03-24 12:35:17 +00:00
Some checks failed
CI / validate (pull_request) Failing after 12s
CI / auto-merge (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.