Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Practical High-Performance Rendering on Mobile Platforms (GDC 2023)

Teaser

Introduction

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.

Project Members

Frame Dissecting

LightingComponents

Render Pipeline

Feature

  • Highly optimized for Mobile Platforms
  • Specular Occlusion
  • Platform-agnostic Shadow Bias

Visibility Tool

Feature

  • 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 numpy and scipy from PracticalMobileRendering/ProjectSettings/requirements.txt, with clr_array_convert.py handling NumPy/.NET array conversion for Unity's Python integration
  • Baked visibility data is consumed by the DefaultLit shader through TEXCOORD2; the Adam sample already includes generated *_visibility.asset meshes under PracticalMobileRendering/Assets/Resources/Adam/Geo/

Lightmapper

Feature

Movie_003.mp4
  • Lightmap and Volumetric Lightmap
  • Path Tracing integrator with Resampled Importance Sampling + Light BVH + Irradiance Caching
  • Including Specular-To-Diffuse light paths

How-to-use

Prerequisites

  • Unity 2023.1.0b6 or newer
  • Windows 10 SDK version 10.0.19041.1 or newer
  • Graphics card with raytracing support

About

Demo for Practical High-Performance Rendering on Mobile Platforms (GDC 2023)

Resources

Stars

317 stars

Watchers

8 watching

Forks

Releases

Packages

Used by

Contributors

Languages