Skip to content

This repository is an advanced 3D racing game prototype built for the web using Babylon.js, React, and TypeScript.

Notifications You must be signed in to change notification settings

OpaceDigitalAgency/3D-Racing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This repository is an advanced 3D racing game prototype built for the web using Babylon.js, React, and TypeScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published