Hi,
I'm very new to Godot and I'm hoping to make a pixalise / pixalize Shader for a transition. As you can see below I have the Shader code sorted and the scene nodes are ready - a white TextureRect is overlayed on the background image sprite. I've got this far, but I have no idea how to control it in GDScript, how are variables passed between the Script and the Shader language?
The Shader is meant to create a pixalated effect that either starts pixalated at a high value such as 0.0008 then loops down to it's original state, or the opposite direction in a similar manner. Great for old-school platform games etc.
I did see mentioned online that it can be accomplished by: CanvasItemMaterial's set_shader_param method
But I have no idea how to script this in GDScript.
Any help for a beginner would be appreciated!