When working with groups in the ShaderFX editor, you might have empty sockets in the group node that you want to remove.
Empty sockets are removed upon saving and reloading the scene, as long as the following conditions are met:
In this example, 0 any is removed automatically upon saving and reloading, while any 0 can only be removed if you move Alternate 1 above any 0. 1 any and any 2 are both retained.
For the group node at left, the Alternate 1 socket must move up before the extra "any" socket can be removed.
.
For the output node at right, the extra "any" socket will be removed.
To move up a socket in a group node:
The extra empty sockets are removed upon saving and reloading the scene.