---
title: "Infinite Procedural Generation - s&box library"
description: "Tool for procedural terrain generation"
canonical: "https://sbox.watch/libraries/foreignlanparty/infiniteproceduralterraingeneration/"
generated_at: "2026-07-22T23:24:23.142Z"
---

# Infinite Procedural Generation

Tool for procedural terrain generation

- Type: library
- Ident: foreignlanparty.infiniteproceduralterraingeneration
- Creator: Foreign Game Studio
- Canonical: https://sbox.watch/libraries/foreignlanparty/infiniteproceduralterraingeneration/
- Markdown: https://sbox.watch/libraries/foreignlanparty/infiniteproceduralterraingeneration.md
- sbox.game: https://sbox.game/foreignlanparty/infiniteproceduralterraingeneration/
- Generated: 2026-07-22T23:24:23.142Z

## Stats

- 24h momentum: +0
- Terry score: 54%
- Favorites: 5
- Upvotes: 8
- Downvotes: 2
- Updated: Jan 19, 2025
- Created: Jan 11, 2025
- Size: 6.5 MB
- Files: 210
- Tags: procedural, terrain, tool

## Description

Infinite Procedural Generation Tool

This tool uses different types of S&Box's built-in Noise ( Perlin, Simplex, Value ) to generate terrain.

Features:

Terrain Chunk System: Terrain chunk system that allows for infinite terrain
Multiple Noise Types: ( Perlin, Simplex, Value )
Layered Noises: Combine up to 3 different Noises
Export Config / Import Config: Export the noise configs to JSON / Import noise configs from JSON
Export .raw: Export terrain to raw heightmap
Custom Terrain Shader: Custom terrain shader that allows 10 textures to be used on the terrain
Configure At Runtime: Regenerate noise and terrain with a button
And More!

To update library BACKUP your project then REMOVE the old library before installing newer version

Tool Tutorial ( Look at chapters )

Demo GIFs :

Special Thanks

Sturnus : Answered my questions : Check out his awesome entry : https://sbox.game/sturnus/terraingenerationtool

solwllms : For fixing https://github.com/Facepunch/sbox-issues/issues/7180

Garry : For answering my questions

Matt : For fixing bugs

Known Bugs

Not in my code
{
https://github.com/Facepunch/sbox-issues/issues/7225 : Spawn Terrain Hitch : circumvented

https://github.com/Facepunch/sbox-issues/issues/7196 : GPU Memory Leak : will make editor perform badly on subsequent project plays. To fix close and open editor.

https://github.com/Facepunch/sbox-issues/issues/7193 : Edge Of Terrain Bevel : visual bug that adds obvious lines on chunk edges.
}


