+1 vote

A VisualShaderNode supports default values for input ports, and also editing those values by typing them, all very convenient. But:

  • Once you add the node to the shader you can edit the default value by typing them manually, but they return to their defaults after reloading the project. Data is lost. Very frustrating.
    The only way to prevent this data loss is plugging another node into the input, defeating the purpose of having an editable value.

  • If you don't set a default port value you don't get an editable box, and must use an extra node to hold that value.

Is there a way to store numeric values in the node without them returning to the default?

Godot version 3.2.3
in Engine by (65 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.