How do I set uniforms to GLSL compute shader?

Godot Version 4.2.1

I want to pass uniform value to my GLSL compute shader.

I want to know how can I pass uniforms with gdscript to my GLSL compute shader. In shader I have struct with three float values. Now I want to pass uniform using RDUniform. Thank you for your time.

1 Like