An ultra-luxury, high-performance scroll-driven cinematic 3D sports car portfolio built with Next.js 15+ (App Router), React Three Fiber (R3F), Custom GLSL Shaders, and Lenis.
This project delivers a triple-A gaming aesthetic where the scroll wheel governs a 1200vh cinematic timeline of wide orbital camera sweeps, aggressive lighting transitions, and hardware-accelerated reflections.
- Ultra-Smooth Scroll Dynamics: Powered by
Leniswith a heavy0.035lerp level for majestic, weighted momentum. - Wide Orbital Camera Rig: A global
GSAPtimeline orchestrates majestic, radius-10 orbital sweeps, eliminating tight camera collisions for a more grand, cinematic feel. - 1200vh Active Timeline: Provides the slow, breathing pacing required for high-end automotive showcases.
- "Demon Eye" Headlight Mask: A custom GLSL fragment shader injected into the
glass_lightmaterial. - Native Sweep Animation: The red neon headlight drawing effect is mathematically mapped to initial scroll progress, physically "drawing" the light onto the mesh.
- Sinister Breathing Idle: Headlight emissive intensity features a sine-wave pulse logic to simulate a living, idling engine.
- Digital Noir Studio Rig: High-contrast unilateral lighting consisting of a sharp top-down spotlight and directional white rim lights.
- Outro Reflection Culling: Dynamically fades out front-facing studio highlights during the rear-orbit outro to keep the floor reflections pitch-black and clean.
- 60FPS Real-Time Reflections:
MeshReflectorMaterialtuned for high-performance GPUs with a 512px down-sampled resolution.
- Subtle Signature Overlay: A deep red
MANISHMELLOW3D signature hovering above the main VIPER logo in the initial reveal. - Advanced HUD Layouts: Premium
text-6xl+headers paired withmix-blend-differencemonospaced telemetry data trackingRPMandMPHin real-time. - Cinematic Fade Outro: A translucent
ᐯ丨卩 乇 尺title (text-white/20) hovers in the upper third during the final rear shot, preserving the car's silhouette.
/
├── app/
│ ├── layout.tsx # Injects Lenis & Global SEO
│ ├── page.tsx # 1200vh Scroll Master Container
│ └── providers/
│ └── LenisProvider.tsx # Scroll Physics Configuration
├── components/
│ ├── 3d/
│ │ ├── CanvasScene.tsx # Fixed Background <Canvas> & Reflections
│ │ ├── CarModel.tsx # GLTF GLSL Masking & Drive Logic
│ │ ├── CameraRig.tsx # Master GSAP Progress Mapping
│ │ ├── Lights.tsx # Cinematic Local Illumination Controls
│ │ └── Effects.tsx # UnrealBloomPass & Depth of Field
│ └── ui/
│ └── Overlay.tsx # Final Cinematic Typography HUD
└── store/
└── useScrollStore.ts # Zustand Global Progress Synchronization
-
Clone the repo:
git clone [your-repo-link]
-
Install dependencies:
npm install
-
Run the production audit:
npx tsc --noEmit && npm run build -
Start development:
npm run dev
MANISHMELLOW - Digital Noir Garage Engineering