Files
JFA_driven_motion_blur_addon/README.md

28 lines
2.2 KiB
Markdown
Raw Normal View History

2024-07-07 21:38:34 +03:00
# Instructions
2024-12-06 10:32:29 +02:00
**For Godot 4.4 users:** I introduced a new Godot 4.4 branch with required fixes, download from it instead.
2024-08-10 15:34:23 +03:00
1. take the contenst of the "addons" folder and move them to an addons folder in your project.
2024-08-25 18:52:08 +03:00
2. add an environment node, add a MotionBlurCompositor(NEW!!) to it
2024-08-19 01:22:32 +03:00
3. to that, add a new PreBlurProcessor effect, which is now required, and after it add a new GuertinMotionBlur, SphynxSimpleJumpFloodMotionBlur, or ExperimentalJumpFloodMotionBlur
2024-08-14 23:12:12 +03:00
4. for debugging, add a "C","Z", and "freeze" input events, and then a DebugCompositorEffect to the compositor effects. Then, all you have to do is toggle "Debug" to true on whichever effect you want to show debug for
2024-07-07 21:47:36 +03:00
2024-08-19 01:22:56 +03:00
* GuretinMotionBlur - An all around best blur effect, robust, performant, and now also realistic.
* SphynxSimpleJumpFloodMotionBlur - An effect driven by a novel dilation method using the jump flood algorithm, used in research of realistic blending schemes and focused on being a retrospective blur approach.
* ExperimentalJumpFloodMotionBlur - An effect driven by a novel dilation method using the jump flood algorithm, uses an added feature to heuristically fake transparency of leading edge of the blur using the past color output.
2024-08-19 01:22:32 +03:00
2024-07-19 15:58:46 +03:00
instructions for radial blur meshes can be seen here:
https://youtu.be/eslsw9do4Kc
WARNING:
2024-07-19 15:20:22 +03:00
if you want transparent objects to render on top of the blurred background, you can move the pre-blur-processing and blur post process effects both to callback type of pre-transparent, At which point it would not work if you have MSAA enabled, so make sure to also turn that off.
2024-07-07 21:47:47 +03:00
# Demo Repo
2024-07-07 21:47:36 +03:00
you can find a working demo repository here:
https://github.com/sphynx-owner/JFA_driven_motion_blur_demo
# Sources
2024-07-08 23:14:11 +03:00
for a better overview of the subject here's a video I made on it:
2024-07-07 21:47:36 +03:00
https://youtu.be/m_KvYlYF3sA
and heres a paper I wrote on it:
[Using.the.Jump.Flood.Algorithm.to.Dilate.Velocity.Maps.in.the.application.of.Believable.High.Range.High.Fidelity.Motion.Blur.7_7_24.2.-.Google.Docs.pdf](https://github.com/user-attachments/files/16120346/Using.the.Jump.Flood.Algorithm.to.Dilate.Velocity.Maps.in.the.application.of.Believable.High.Range.High.Fidelity.Motion.Blur.7_7_24.2.-.Google.Docs.pdf)