VFEZ-godot is a godot library for easy VFX generation.
VFEZ-godot provides flexible 2D and 3D materials that can create complex effects without writing code.
VFEZ-godot was tested in Godot 4.3 and in Godot 4.4.
To get started with VFEZ-godot simply clone the repo inside your project and then create a new Material.
- To create a 3D VFX, create a
VFEZMaterial3Din aMeshInstance3Dnode. - To create a 2D VFX, create a
VFEZMaterial2Din aSprite2DorTextureRectnode. VFEZMaterialscan also be used inside particle systems.VFEZ-godotcontains a big library of shader effects that can be stacked easily together.- The order of the listed effects corresponds to their execution order inside the shader for more transparent effect stacking.
- A
VFEZMaterialdynamically recompiles theShaders/vfez_template_3d.gdshaderincor theShaders/vfez_template_2d.gdshaderincevery time an effect is enabled or disabled. That way the resulting material does not include excess code logic and is performant. - Every
VFEZMaterialgenerates a unique shader file that contains the definitions (#define) of the enabled effects. - If you dont want to use the
VFEZMaterial3DandVFEZMaterial2Din your project you can still use the library to stack effects in your custom shaders. You can see theShaders/vfez_2d_example.gdshaderandShaders/vfez_3d_example.gdshaderas guidelines on how to stack effects manually.
- Add more VFEZ effects
- Add more usage tutorials
- Contributions are welcome (especially new effects to enchance the library!).
- If you encounter any bug let me know so I can fix it.

