Files
the-nexus/style.css
Alexander Whitestone f4e04b6a79
Some checks failed
CI / validate (pull_request) Failing after 12s
CI / auto-merge (pull_request) Has been skipped
feat: warp tunnel effect when entering portals (#250)
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
2026-03-24 00:50:53 -04:00

5.0 KiB