public override void OnInputPortConnected(int portId, int otherNodeId, int otherPortId, bool activateNode = true)
 {
     base.OnInputPortConnected(portId, otherNodeId, otherPortId, activateNode);
     if (portId == 2)
     {
         m_inputReferenceNode = m_texPort.GetOutputNodeWhichIsNotRelay() as TexturePropertyNode;
         UpdatePorts();
     }
 }