This chapter describes the rendering pipeline developed for PICA PICA, a real-time ray tracing experiment featuring self-learning agents in a procedurally assembled world. PICA PICA showcases a hybrid rendering pipeline in which rasterization, compute, and ray tracing shaders work together to enable real-time visuals approaching the quality of offline path tracing. The design behind the various stages of such a pipeline is described, including implementation details essential to the realization of PICA PICA's hybrid ray tracing techniques. Advice on implementing the various ray tracing stages is provided, supplemented by pseudocode for ray traced shadows and ambient occlusion. A replacement to exponential averaging in the form of a reactive multi-scale mean estimator is also included. Even though PICA PICA's world is lightly textured and small, this chapter describes the necessary building blocks of a hybrid rendering pipeline that could then be specialized for any AAA game. Ultimately, this chapter provides the reader with an overall good design to augment existing physically based deferred rendering pipelines with ray tracing, in a modular fashion that is compatible across visual styles.
CITATION STYLE
Barré-Brisebois, C., Halén, H., Wihlidal, G., Lauritzen, A., Bekkers, J., Stachowiak, T., & Andersson, J. (2019). Hybrid rendering for real-time ray tracing. In Ray Tracing Gems: High-Quality and Real-Time Rendering with DXR and Other APIs (pp. 437–473). Apress Media LLC. https://doi.org/10.1007/978-1-4842-4427-2_25
Mendeley helps you to discover research relevant for your work.