Godot Version
v4.6.2-stable
Question
Is there a way to toggle on/off parameters in the inspector for Shaders? What I am trying to achieve is something much like the StandardMaterial built-in, where you can toggle some of the parameters (i.e. Normal Map) and that will then show all the fields that you can populate.
Like in the example image, when a bool is false (Emission), then no fields are shown, and when the bool is true (Normal Map), then all its content is shown. Is there a way to achieve this in custom shader code to clean up the properties list?
