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§

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