examples-cpp/chunked_procgen at main · raylib-extras/examples-cpp · GitHub
Skip to content

Latest commit

 

History

History

Folders and files

Chunked Procedural Generation

Shows how to generate a procedural world that is very large, larger than would be possible with regular floating point values.

Only the chunks around the player are generated and stored in render textures. The system uses a floating origin, keeping the player relative to the nearest chunk so that it does not get floating point resolution errors.