Skip to content

VoxInteractive/StorageBuffersCompute

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Storage Buffers Compute

Showcase of getting data into and out of GLSL compute shaders using Push Constants, Specialization Constants and Storage Buffers in Godot.

See https://1hue.dev/storage-buffers-compute-shaders-godot for further reading.


Example use of Specialization Constants — which are more efficient than Push Constants for input data that need not change during runtime — is included.

UI that demonstrates the concepts:

Screenshot

Scripts of interest:

Compatibility

Tested with:

  • Godot 4.5
  • Godot 4.4
  • Vulkan API

Compute shaders are not supported in WebGL/Compatibility mode.

About

Transfer data using SSBO storage buffers into/out of GLSL compute shaders in Godot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • GDScript 70.4%
  • GLSL 29.6%