For a book on the subject, Alice Miller's The drama of the gifted child is all about losing yourself in masks and finding yourself in adulthood. Seems written with therapists as the target audience.
Its answer to your question: your high abilities will never truly substitute the love and acceptance you didn't get, and insisting in it will give you depression.