Skip to content

Peiteng/Physically-Based-Realtime-Lens-Flare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Physically-Based-Realtime-Lens-Flare

Realtime Lens Flare Rendering with Ray-Tracing and Lens Data image image 画像2 スクリーンショット 2022-04-08 231220

GIF

Task

  • chromatic aberration
  • non-linear ghost deformation
  • performance optimization

Graphics API

DirectX12

Necessary External File / Code

  • d3dx12.h
  • dxcompiler.dll
  • dxil.dll
  • imgui

Calculation Method of Wave Distribution

  • (Star)Burst Pattern Fraunhofer Diffraction burst

  • Ghost/Ringing Pattern Angular Spectrum Method ghost

Simulation Process

First, we construct optical interface such as lens. Then, we can use patent data of camera. We can simulate lens flare exactly by use of these information. process1

Lens form is denoted by algebraic equation, so we don't need to specific structure such as BVH. process2

By executing tracing of bundle, we can calculate intensity of ray. For improving in quality, we take average of its surrounding neighbors.

process3

About

Realtime Lens Flare Rendering with Ray-Tracing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published