celyk / GPUTrail

A GPU based trail plugin for Godot 4
MIT License
93 stars 10 forks source link

GPUTrail

GPUTrail is a GPU-based trail plugin for Godot 4, offering an efficient alternative to CPU-based trails for creating ribbon trail effects in your games and applications. heart

Features

Installation

  1. Clone or download this repository
  2. Copy the addons/GPUTrail folder into your Godot project's addons folder
  3. Enable the plugin in your project settings: Project -> Project Settings -> Plugins -> GPUTrail

Usage

  1. Add a new GPUTrail3D node to your scene
  2. Customize the trail properties in the Inspector panel
  3. Attach the GPUTrail3D node to the object you want to trail

Properties

Example

var trail = GPUTrail3D.new()
trail.length = 100
trail.texture = preload("res://trail_texture.png")
add_child(trail)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

TODO