Skip to main content

standard_frame_graph

Function standard_frame_graph 

Source
pub fn standard_frame_graph() -> RenderGraph
Expand description

Build the standard proof-engine frame render graph.

Passes (in dependency order):

  1. depth_prepass — writes depth
  2. particle_update — compute, reads/writes particle_buf
  3. gbuffer — writes gbuffer_albedo, gbuffer_normal, gbuffer_emissive, reads depth
  4. ssao — compute, reads depth + gbuffer_normal, writes ssao
  5. lighting — reads gbuffer + ssao, writes hdr
  6. particle_draw — reads particle_buf + depth, writes hdr
  7. bloom_down — reads hdr, writes bloom_half
  8. bloom_up — reads bloom_half, writes bloom
  9. tonemap — reads hdr + bloom, writes ldr
  10. fxaa — reads ldr, writes backbuffer