Skip to content

High-Quality Offline Depth of Field that works with transparencies.

License

Notifications You must be signed in to change notification settings

frostbone25/Unity-Offline-Depth-Of-Field

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Offline Depth Of Field

High-Quality Offline Depth of Field.

This has none of the shortcomings of regular Depth-of-field effects, and it even works with transparent materials/objects. It works by simply capturing the scene from many different angles in a circle, looking towards the focal point, and accumulating the captures into a render target which then gets saved to the disk.

Render

Comparisons

Offline DOF: Near Focus

Render1a

Runtime DOF: Near Focus

Render1b

Offline DOF: Far Focus

Render2a

Runtime DOF: Far Focus

Render2b

Offline DOF: Transparent Objects In Foreground

RenderTransparency1a

Runtime DOF: Transparent Objects In Foreground

RenderTransparency1b

Offline DOF: Focusing on Transparent Object

RenderTransparency2a

Runtime DOF: Focusing on Transparent Object

RenderTransparency2b

About

High-Quality Offline Depth of Field that works with transparencies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages