Real Race Track Generator – Procedural Race Circuits, Pits & Grandstands
- Documentation/AGENTS.md: AI agent guide. ... rubber and the terrain layers); ... (tree species); ... with invented brand names, chain-link fence, steel grating, foliage sprays);
by u3d
Price History +
- Unity 6000.3.21f1 or newer, Universal Render Pipeline 17.3, Forward+ renderer (included:
Settings/RRT_URP.asset), Linear colour space.
- URP only. HDRP and the Built-in pipeline are not supported.
- Tested in the Windows Editor. Not validated for mobile, console or WebGL players in this release.
- Component: RaceTrackGenerator (menu Add Component > Real Race Track > Race Track Generator).
- Presets: 5 RaceTrackPreset assets in Presets/. Material set, tree library and terrain layers are assets.
- Editor:
- inspector with a preset dropdown, Random Seed, Generate, Clear and Bake to Assets;
- container handles;
- Tools > Real Race Track > Create Missing Built-in Presets, Validate Presets (builds and checks all five
presets, batch exit code 0/1) and Check Project Setup (Linear, URP, Forward+ and the volumetric fog
renderer feature, with a one-click Fix).
- Volumetric fog: the renderer feature Race Track Volumetric Fog (on the included renderer; Check Project Setup adds
it to yours) and the Volumetric Fog block on the generator. Measured at night, Medium quality, 1920x1080, RTX 4090:
1.3 ms (Eifel Ring) to 1.5 ms (Grand Prix) per frame.
- Night shadows (RaceTrackNightShadows, a car as the target, 2-3 shadowed floodlights in view): measured at night,
1920x1080, RTX 4090, editor: +0.9 to +1.7 ms per frame on the Eifel Ring (3-5 %), +0.2 ms or less on Grand Prix
(1 % or less).
- Output:
- chunked meshes, about 250 m per chunk, with 3 LOD levels each;
- mesh colliders per surface;
- Unity Terrain with a collider;
- a forest from the tree library (17 plant types: 11 tree species, 3 forest-edge variants, a shrub, a fern and
tall grass) and terrain grass tufts.
- Measured on our workstation (editor, seed 1, terrain and forest on):
Preset; Length; LOD 0 triangles (chunks + GPU-instanced); Night lights (key / fill / shadowed); Generate
Eifel Ring; 14.0 km; 7.2 M (4.43 M + 2.77 M); 1391 / 255 / 8; 14.5 s
Grand Prix; 6.4 km; 16.0 M (2.41 M + 13.62 M); 600 / 310 / 8; 5.7 s
Coastal Circuit; 5.5 km; 7.6 M (2.02 M + 5.56 M); 530 / 233 / 8; 4.5 s
Club Circuit; 3.4 km; 5.4 M (1.09 M + 4.34 M); 326 / 112 / 8; 3.0 s
Speedway; 2.8 km; 4.2 M (1.06 M + 3.09 M); 289 / 113 / 8; 2.8 s
Source: Validate Presets, 2026-11-19. Terrain grass tufts on the Eifel Ring cost about 1 ms per frame in the editor
(1920x1080, within the measurement noise).
- Demo scenes: Samples/Scenes/Race Track Demo.unity and one scene per preset (Eifel Ring, Grand Prix,
Club Circuit, Coastal Circuit, Speedway).
- Documentation:
- Documentation/README.md: quick start.
- Documentation/Manual.md.
- Documentation/AGENTS.md: AI agent guide.
- Documentation/CHANGELOG.md.
- Documentation/Third-Party-Notices.md.
- Textures (all PNG):
- the publisher's own Real Materials library (lawn, sand, gravel, concrete, metals, timber, fabric, plastics,
rubber and the terrain layers);
- the publisher's own Real Car Controller System (road aggregate, cracks, gravel and noise maps) and Real Trees
(tree species);
- procedural maps made for this package by the publisher's scripts (signage, wall livery and LED screen atlases
with invented brand names, chain-link fence, steel grating, foliage sprays);
- the day sky: the publisher's own cloud render; the dusk and night skies are procedural.
Details are in Third-Party-Notices.md and Textures/TEXTURES.md. No third-party texture or sky is included.
- Package size: 485 MB download (508,774,398 bytes), about 687 MB of assets after import, 588 files in 56 folders.
- AI disclosure: some vegetation textures are AI-generated original content, see the AI/ML declaration below. AI
was also used as a development aid for code and documentation.
Real Race Track Generator builds a complete, drivable race circuit from a seed, a preset and a box you place in the
scene, for the Universal Render Pipeline (URP 17.3) on Unity 6000.3.21f1. In seconds you get:
- a racing road with kerbs, run-offs, barriers and catch fences;
- a pit building and grandstands;
- bridges, marshal posts, camera towers and trackside signs;
- carved terrain, a forest and a horizon.
The same seed always gives the same circuit. Bake it to a prefab when you like it.
AI Ready. Built to be driven by AI coding agents as well as by hand. Documentation/AGENTS.md gives Claude Code, Codex, Cursor or a Unity MCP bridge the exact entry points: the RaceTrackGenerator component with Generate(), Clear() and ApplyPresetContainer(), the five presets as plain RaceTrackPreset assets with an editable TrackStyle, the RaceTrackData gameplay API, RaceTrackBaker.Bake, the Tools > Real Race Track menu, task recipes and a verification step (Validate Presets or -executeMethod RealRaceTrack.Editor.RaceTrackValidator.Run builds all five presets and prints RRTG|VALIDATE|ALL|PASS|n=5, and every Generate prints an RRTG|GEN| line with length, corners, crossings, triangles and lights), so an agent can build, tune, bake and check a circuit without guessing.
Any circuit that fits your box. The layout fills the box footprint and climbs only within its height. A long,
thin box gives a long, thin circuit. The circuit gets:
- real corners with smooth transitions: hairpins, sweepers and chicanes;
- a long start-finish straight;
- crests, dips, banking and drainage cross-fall.
Drag the box handles in the Scene view, press Generate, and try another seed.
Five presets. Each is a plain asset you can duplicate and edit:
- Eifel Ring, the base preset: a long, narrow, flowing forest circuit of about 14 km, with big crests and dips
and guard rails right up to the trees.
- Grand Prix: a modern wide circuit with big run-offs, rumble kerbs, catch fences, many grandstands and a
figure-eight overpass.
- Club Circuit: short and technical, with tyre walls and small stands in rolling countryside.
- Coastal Circuit: Mediterranean pines, sand and gravel traps, and concrete walls with adverts.
- Speedway: a banked oval that runs at night under floodlights by default.
Overpasses and level crossings. A circuit can cross itself on a bridge or at grade, with gate sets. You set the
count per preset or per generator: 0 to 4 of each, at most 4 in total. The generator keeps:
- a safe crossing angle;
- clearance under the deck;
- grades within the preset's limits.
Everything a circuit has.
- Kerbs: flat, rumble, sausage and negative.
- Run-offs: grass, gravel, asphalt and sand.
- Barriers: steel guard rails (one to three rails), concrete walls, tyre walls, energy-absorbing blocks and jersey
barriers.
- A pit building with garages and pit lane.
- Grandstands of three types, a start gantry, footbridges and advertising bridges.
- Marshal posts, camera towers, billboards, braking boards and corner signs.
- A paddock, medical centre, podium, timing pylon, big screens, spectator banks and floodlight masts.
- Every advert uses invented brand names.
- Nothing is left standing on the road: every mast, screen, sign and bridge leg is checked against the barrier
line of the whole circuit, then moved out or dropped.
Day, dusk and night. One field switches the sky, fog, sun or moon and post-processing. At dusk and night:
- lamps, windows, backlit signs and LED screens glow;
- real lights are placed by priority: key lights always, fill lights within a budget;
- your car casts a shadow under the floodlights: up to 8 floodlights at a time cast shadows (by default; up to 16),
picked for the cars you name as targets or for the road in front of the camera, and their shadows fade in and out,
so nothing pops (additional light shadows must be on in your URP asset, as they are in the bundled one);
- asphalt, kerbs, painted lines and walls keep their texture under the masts instead of burning out to white;
- floodlight masts light every 25 m of the track, bridge decks and start straights included;
- the pit building has a cool white facade floodlight row;
- distant lights fade out and far light pools take their place, so a night circuit seen from the air still shows its
lit ribbon.
Volumetric fog, built in. One ray-marched pass adds a light beam under each of the nearest floodlight masts at
night, a warm haze at dusk and a light distance haze by day. No other asset is needed. It has Low, Medium and High
quality and one switch on the generator, and measured 1.3 to 1.5 ms per frame at Medium quality (1920x1080, RTX 4090,
night).
The bundled URP asset uses a Forward+ renderer, so hundreds of lights work.
Terrain and forest.
- A Unity Terrain with a carved track corridor, embankments and hills beyond.
- Every building stands on its own levelled pad with a paved apron, foundations, and a retaining wall or a grass
bank where the ground falls away. A grandstand sits in one piece on its pad, and the paddock is paved.
- A horizon ring that fades into the fog.
- A forest from a library of 17 plant types with baked LODs (11 tree species, forest-edge variants of the beech, birch and spruce, a shrub, a fern and tall grass), in a temperate and a Mediterranean biome, plus terrain grass tufts.
Ready for gameplay. The RaceTrackData component gives the centreline frame at any distance, with position,
direction, banking, width and an estimated speed. It also gives corners, sectors, grid slots and the pit lane path.
Colliders are built per surface with physics materials: asphalt, kerb, grass, gravel, sand and concrete. Meshes come
in about 250 m chunks with three LOD levels each.
The package contains no vehicle. The red car in the video is the Roadster 23 from Real Car Controller System, sold
separately; it drove every preset on the generated colliders, kerbs and pit lane included.
Bake to Assets. One click writes:
- mesh assets;
- terrain data;
- a prefab with the gameplay data.
Use the circuit in a game with no generation at run time.
Measured. In the editor on our workstation with terrain, forest and night lights on, a full circuit took 2.8 s (Speedway, 2.8 km), 3.0 s (Club Circuit, 3.4 km), 4.5 s (Coastal Circuit, 5.5 km),
5.7 s (Grand Prix, 6.4 km) and 14.5 s (Eifel Ring, 14.0 km) to generate. Every Generate prints its own stage times, so you can measure your machine.
Own sky and surfaces. The day sky is the publisher's own cloud render. The surface textures come from the
publisher's own Real Materials library and Real Car Controller System, or are drawn by the publisher's scripts: no
third-party photographs or scans are in the package. All textures are PNG.
Support. Questions and bug reports: the Real Race Track Generator thread on Unity Discussions, or
cgteamorg@gmail.com. Please include your Unity version, the preset and the seed.
More from this family
- Real Roads & Tracks - procedural road, railway and roller coaster generator for your terrains: https://assetstore.unity.com/packages/slug/411734
- Real Car Controller System - vehicle physics, gearboxes and crash damage to drive on your circuits; the track surfaces build on its proving-ground look: https://assetstore.unity.com/packages/slug/422878
- Real Trees - procedural trees and forests with volume LODs, the source of this package's forest: https://assetstore.unity.com/packages/slug/425356
- Real Ground - 56 terrain ground types with a splat shader: https://assetstore.unity.com/packages/slug/425336
- Real Cities - procedural city generator with real-world buildings: https://assetstore.unity.com/packages/slug/426046
- Real Castle Generator - procedural medieval castles from a seed: https://assetstore.unity.com/packages/slug/420766
- Real Earth Planet - real-world terrain, roads and railways generator: https://assetstore.unity.com/packages/slug/412072