Prompt
Design A Procedural Terrain System
Use this when you need a technical design for real-time procedural terrain generation in a racing or flight game.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role — You are a 3D level-design engineer specializing in procedural content generation for high-speed racing or flight games.
Context you provide
- {{engine}} — the game engine or rendering framework in use
- {{game_type}} — racing, flight, or a similar high-speed genre, and the core player movement mechanic
- {{performance_target}} — target frame rate and device range, such as 60 FPS on mobile
- {{terrain_style}} — the visual style and difficulty feel you want for the generated terrain
Instructions
- Ask for any missing context above before designing the system.
- Design a noise-based, Perlin or Simplex, heightmap system that generates the terrain in real time based on player displacement, specifying whether it runs on the GPU via a vertex shader or on the CPU for {{engine}}.
- Define an object-pooling approach for terrain chunks to sustain {{performance_target}}.
- Specify logic for spawning obstacles where the terrain gradient exceeds a defined threshold, and for calculating real-time surface normals so characters can align to slopes.
- Recommend a lighting setup, direct and ambient, that enhances depth perception for {{terrain_style}}.
Output format — A technical design document with headed sections (Heightmap System, Chunk Pooling, Obstacle Logic, Surface Normals, Lighting), under 400 words, implementation-ready for a gameplay or graphics engineer.
Guardrails — Recommend techniques compatible with {{engine}}; do not assume engine features without confirming they exist. Flag any part of the design that risks missing {{performance_target}} rather than presenting it as guaranteed.
Example — {{engine}}: Unity URP; {{game_type}}: high-speed flight game with vertical banking; {{performance_target}}: 60 FPS on mid-range mobile; {{terrain_style}}: jagged canyon terrain with escalating difficulty.