This is a new version of an old demo of mine:
https://eliashasle.github.io/tunnel.html (will take a few seconds to load)
Very much inspired by this tunnel in my neighborhood, and following Norwegian standard dimensions on the road markings.
Control with arrow keys, or optionally with anything gamepad-like. It has been a long time since I tested with anything else than arrow keys, and it was only ever tested on one set of steering wheel and pedals, so I can’t promise anything.
The fog is exponential. See https://github.com/mrdoob/three.js/pull/17355
I will appreciate feedback on how smoothly the demo runs, and on how it responds to different gamepads. I have not yet done any tricks like merging geometries, so the number of draw calls is substantial (192 per frame, the last time I checked).
I have plans for the future of the “game”, but must make sure to postpone them until I really have the time.