Skip to content

1hue/StorageBuffersCompute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 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.