A compute shader wrapper for Godot
Find a file
2025-03-05 00:47:28 -08:00
Examples Annotate gd script 2025-02-25 23:12:24 -08:00
.gitattributes Implement godot compositor tutorial 2024-12-02 21:05:48 -08:00
.gitignore Update gitignore 2025-01-14 04:15:03 -08:00
acerola_shader_compiler.gd Create uniform buffer automatically with ACompute 2025-01-21 22:00:50 -08:00
acompute.gd Fix recompilation error due to freed uniform set 2025-03-05 00:47:28 -08:00
LICENSE Create LICENSE 2025-02-26 05:10:57 -08:00
README.md Update README 2025-02-25 23:14:48 -08:00

Acerola Compute

Acerola Compute (ACompute for short) is a compute shader wrapper language for GLSL compute shaders intended for use with Godot to make compute shader organization, compilation, memory management, and dispatching much simpler.

Using ACompute Shaders

Because ACompute is technically a custom shader language, it needs its own interpreter which is provided with the script acerola_shader_compiler.gd. This must be declared as a global singleton in your Godot project so that on start it will identify any .acompute files in your project and compile them automatically. For information on how to do this, please reference this tutorial in the Godot documentation.

A more comprehensive tutorial for writing ACompute shaders will be available eventually, but until then, please refer to the provided examples which are heavily annotated as well as my video on the creation of the language.

Planned Features

  • Shader file includes
  • idk what else please suggest some features