Skip to content

Latest commit

 

History

History
57 lines (39 loc) · 1.67 KB

File metadata and controls

57 lines (39 loc) · 1.67 KB

3D-Racing

Advanced 3D racing game prototype (WebGPU when available, WebGL2 fallback).

Run

npm install
npm run dev

Open the URL Vite prints (usually http://localhost:5173).

Controls

  • Drive: WASD / Arrow keys
  • Handbrake: Space
  • Reset: R (or UI button)
  • Camera: C to cycle views (Chase, Driver, Hood, Bumper, Orbit, Top)
  • Mouse: Scroll to zoom, drag to rotate (in Orbit mode)
  • Gamepad: left stick steer, triggers throttle/brake, A reset

Features

  • Futuristic car with PBR materials and LED lighting
  • 3D grass with wind animation
  • Water puddles with reflections and ripples
  • HDR environment lighting with atmospheric fog
  • Multiple camera views
  • High quality post-processing (bloom, chromatic aberration, film grain)

Notes

  • Environment lighting uses public/env/environmentSpecular.env (Babylon environment map).
  • No backend: time trial + best lap are local-only right now.

About Opace Digital Agency

This project is developed and maintained by Opace Digital Agency, a Birmingham-based web design and development agency specializing in modern web solutions.

Our Services

  • Web Design & Development - Professional, responsive websites
  • Next.js & React Development - Modern web applications
  • Frontend Development - Cutting-edge user interfaces
  • WordPress Development - Custom themes and plugins
  • E-commerce Solutions - Scalable online stores

Get in Touch