Render Pipeline

Core Display System



Context Based Assembly


Many preparation operations are performed as command lists prepared by worker threads. These are performed as needed and are staggered:

. Loading and unloading of terrain chunks.
. Loading and unloading of tree particles.
. Sorting of tree particles.
. Loading and unloading of NPC's.
. Sorting of NPC's.
. Generation of sky texture.
. Physics collision processing.


Display Render Pipeline


The literal order of render would be as follows:

displaySky
shadowAvatars and NPC's
shadowGround
shadowGrass
shadowBracken
shadowTrees
displayAvatars and NPC's
displayGround
displayGrass
displayBracken
displayTrees
displayWater
fogFog back-face
fogFog front-face
displayFog