hero

Glamour

🦀 Rust & OpenGL 🦀

Technical Report →

Graphics Pipelines

How are graphics APIs utilised to create high-performing real-time rendering pipelines? Design, implement, analyse, and discuss forward rendering and deferred rendering techniques.

Forward Rendering

Each object to be rendered gets rasterised, shaded, and drawn to the screen sequentially. Shading is calculated for each object individually.

Deferred Shading

Rasterise each object's geometry into buffers; position, normal, albedo, etc.. By sampling each of the geometry buffers, shading is calculated for the frame as a whole.

# Test the sandbox

# checkout repo
git clone https://github.com/denovodavid/glamour.git

# navigate to directory
cd glamour

# build and run
cargo run

TIP

Use rustup (opens new window) to install the latest Rust toolchain.