Commit graph

1 commit

Author SHA1 Message Date
jedarden
46b34954f5 feat: use FXAA instead of MSAA on mobile devices
On screens < 1024px width, use FXAA (Fast Approximate Anti-Aliasing)
instead of MSAA for better performance on mobile devices.

Changes:
- Add dashboard/js/fxaa.js: FXAA post-processing module using Three.js
  EffectComposer with FXAA shader pass
- Modify renderer initialization to disable MSAA on mobile
- Initialize FXAA composer on mobile devices after scene setup
- Use FXAA render path in animation loop when active
- Update FXAA resolution on window resize

FXAA provides a good balance between visual quality and performance
on mobile GPUs where MSAA can be prohibitively expensive.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-11 03:33:29 -04:00