Unity HLSL implementation of a Depth of field shader with Bokeh effects integrated with URP pipeline. Users can customize the shape of bokehs currently limited to regular polygons, rotate and resize them.
Main code under Assets/URP/Shader
and Assets/URP/Runtime/Bokeh
. Work remains to be done to polish the effect and make the DOF CoC calculation simulate real life lens physics.
-
Notifications
You must be signed in to change notification settings - Fork 0
zlimez/DOF
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
DOF shader in unity
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published