Skip to content

Chunk-based rendering system. Pretty configurable to use however you want

License

Notifications You must be signed in to change notification settings

bedroomrbxl/chunkrenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

ChunkRenderer

This rendering system is used in OpenFlight to increase performance slightly over Roblox's provided Streaming system. This rendering system is best used on large maps where you need to customize how far you can see dynamically or through a user's Settings panel.

We use this in OpenFlight to decrease the quality of 10,000+ trees that may be out of your render distance and do not need to be rendered in full quality.

You can customize the rendering and appearance of just about any Instance that can be collided with.

alt

Usage

Drop the script into any client folder (we use StarterPlayerScripts) and customize the settings.

-- The X and Y size of chunks (in studs). In 3D, these would be the X and Z axis, but chunks are referenced using Vector2.
local CHUNK_SIZE_X = 100
local CHUNK_SIZE_Y = 100

-- The height of each chunk in studs.
local CHUNK_HEIGHT = 1000

-- You can limit how far chunk rendering will modify chunks. We recommend setting this a little larger than or equal to your map size.
local MAP_SIZE_WIDTH = 10000
local MAP_SIZE_HEIGHT = 10000

About

Chunk-based rendering system. Pretty configurable to use however you want

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages