GeometryFX

GeometryFX improves the rasterizer efficiency by culling triangles that do not contribute to the output in a pre-pass. This allows the full chip to be used to process geometry, and ensures that the rasterizer only processes triangles that are visible.

Download

Features

Uses more compute power to process geometry

Filter your triangles

Open source. MIT license

GeometryFX improves the rasterizer efficiency by culling triangles that do not contribute to the output in a pre-pass. This allows the full chip to be used to process geometry, and ensures that the rasterizer only processes triangles that are visible.

A good use case for the GeometryFX library is depth-only rendering of opaque geometry – for example, in shadow maps:

  • Depth-only rendering leaves most compute units idle, which can be used by GeometryFX.
  • Opaque geometry has no ordering requirements, so GeometryFX can cull triangles in arbitrary order and regroup/split draw calls.
  • All geometry can be rendered using the same vertex shader, which allows the GeometryFX library to merge draw calls for maximum efficiency.

At its core, GeometryFX works by generating an intermediate index buffer which consists of visible triangles only. Intermediate buffers are reused as much as possible to minimize memory usage. GeometryFX also buffers up draw calls to execute the filtering on one batch while the previous batch is being rendered, allowing the filtering to overlap with the actual draw call.

The library makes heavy use of multi-draw-indirect. This is a D3D11 driver extension exposed through the AMD GPU Services (AGS) library. It allows multiple draw calls to be prepared on the GPU and executed with a single API call.

How it works

GeometryFX processes your triangles in compute, and looks for triangles that don’t ultimately contribute to the scene.

Learn more

Our other effects

Shadow Denoiser

AMD FidelityFX – Denoiser

AMD FidelityFX Denoiser is a set of denoising compute shaders which remove artefacts from reflection and shadow rendering.

FEMFX

A multithreaded CPU library for deformable material physics, using the Finite Element Method (FEM)

Cauldron Framework

Radeon™ Cauldron is our open source experimentation framework for DirectX®12 and Vulkan®.