Gorilla.Controller.Passes.Voxelize

Unit Gorilla.Controller.Passes.Voxelize.pas

Classes

Records

Constants

  • const VOXEL_MAX_LIGHTS : Integer = $8;
  • const VOXEL_LOD : Integer = $8;

TGorillaRenderPassVoxelize

A render-pass component to used for voxelizing a scenery. The render pass will render the scene currently 6 times to produce 6 levels of detail. All levels of detail will be stored in a single 3D texture but shifted on the z-axis. So the size of the 3D texture is SIZE * SIZE * (SIZE * 6). This is much faster than setting up a octree of voxels but less accurate.

Ancestors

Members

Fields

Methods

Properties

TGorillaRenderPassEmbeddedVoxelize

In the TCompositeRenderer an embedded version of the voxelization render pass is needed, marked by the overwritten IsInternalRenderPass routine.

Ancestors

Members