This repo includes the demo project for the following GDC 2023 talk
Practical High-Performance Rendering on Mobile Platforms
https://schedule.gdconf.com/session/practical-high-performance-rendering-on-mobile-platforms/890038
This project contains three parts: a Scriptable Render Pipeline named PMRP, a Visibility Baking Tool, and a Lightmapper.
- guoxx - Xiaoxin Guo <guoxx@me.com> (he/him)
- weakknight - Tianyu Li <ltyucb@gmail.com> (he/him)
- Highly optimized for Mobile Platforms
- Specular Occlusion
- Platform-agnostic Shadow Bias
- Visibility Baking with least square vertex optimization
- Python implementation for vertex visibility baking is included at
PracticalMobileRendering/Assets/Scripts/RenderPipeline/Editor/PythonScripts/vertex_visibility_baking_least_square_fit.py - The solver uses
numpyandscipyfromPracticalMobileRendering/ProjectSettings/requirements.txt, withclr_array_convert.pyhandling NumPy/.NET array conversion for Unity's Python integration - Baked visibility data is consumed by the
DefaultLitshader throughTEXCOORD2; the Adam sample already includes generated*_visibility.assetmeshes underPracticalMobileRendering/Assets/Resources/Adam/Geo/
Movie_003.mp4
- Lightmap and Volumetric Lightmap
- Path Tracing integrator with Resampled Importance Sampling + Light BVH + Irradiance Caching
- Including Specular-To-Diffuse light paths
- Unity 2023.1.0b6 or newer
- Windows 10 SDK version 10.0.19041.1 or newer
- Graphics card with raytracing support


