Crate rend3_routine

Source
Expand description

Render Routines for the rend3 3D renderer library.

The routines in this crate provide powerful default routines as well as building blocks for writing your own custom render routines.

§Getting Started

The starting point when using this crate is BaseRenderGraph, which provides a fully-put-together rendergraph including the PBR impl, skybox renderer, and tonemapper.

As you reach for more customization, you can copy BaseRenderGraph::add_to_graph into your own code and adding/modifying the routine to your hearts content. The abstraction is designed to be easily replaced and extended without needing too much user side boilerplate.

Modules§

base
Starter RenderGraph that can be easily extended.
common
Common utilities used throughout the crate.
culling
Material agnostic culling on either the CPU or GPU.
depth
Material agnostic depth rendering. Shadows or a prepass.
forward
Material agnostic routine for forward rendering.
pbr
Realism-focused PBR rendering routines and material.
pre_cull
Builds and uploads the input to gpu culling.
shaders
Holds the sources and binaries for all shaders.
skinning
skybox
Routine that renders a cubemap as a skybox.
tonemapping
Tonemapper which blits an image while applying a tonemapping operator.
uniforms
Helpers for building the per-camera uniform data used for cameras and shadows.