Edit of asset "Bokeh Particle Depth of Field" Accepted

Old/Current New/Edit
Title Bokeh Particle Depth of Field Bokeh Particle Depth of Field
Description This is a shader for particles to create a bokeh-esque depth of field effect.

It works by essentially "precomputing" the various amounts of blur, instead of blurring in real time. Since the particles are radial, we can store only a single row of pixels per blur level, and the shader will distort the UV coordinates to turn it into a circle. This gives us a very compact 512x1024 texture that stores 1024 different blur levels, which can be smoothly interpolated.
This is a shader for particles to create a bokeh-esque depth of field effect.

It works by essentially "precomputing" the various amounts of blur, instead of blurring in real time. Since the particles are radial, we can store only a single row of pixels per blur level, and the shader will distort the UV coordinates to turn it into a circle. This gives us a very compact 512x1024 texture that stores 1024 different blur levels, which can be smoothly interpolated.
Category Shaders Shaders
License MIT MIT
Repository Provider GitHub GitHub
Repository Url https://github.com/Bauxitedev/godot-particle-dof https://github.com/Bauxitedev/godot-particle-dof
Issues Url https://github.com/Bauxitedev/godot-particle-dof/issues https://github.com/Bauxitedev/godot-particle-dof/issues
Godot version Godot 3.0 Godot 3.0
Version String v1.0 v1.0
Download Commit v1.0 v1.0
Download Url (Computed) https://github.com/Bauxitedev/godot-particle-dof/archive/v1.0.zip https://github.com/Bauxitedev/godot-particle-dof/archive/v1.0.zip
Icon Url https://i.imgur.com/N7g9PBK.png
https://i.imgur.com/N7g9PBK.png
Preview Insert
Type image
Image/Video URL https://raw.githubusercontent.com/Bauxitedev/godot-particle-dof/master/example/img.png
Thumbnail https://raw.githubusercontent.com/Bauxitedev/godot-particle-dof/master/example/img.png
Preview Insert
Type video
Image/Video URL https://www.youtube.com/watch?v=7FDlCm7AiLw
Thumbnail