Please have a look at the posting guidelines linked below. You say that you’re experiencing a problem with Godot’s visual shader system, and yet you don’t provide a single image of said visual shader(s). It’s nice of you to include the generated code for the visual shaders, but it’s irrelevant if we can’t see what was used to generate it.
Please describe the context of your problem in a clearer way so we, as readers, can understand your situation the way you do.