Yes, you either need to show up in person with your kid and the mother (along with your passport) to sign your permission, or you have to send in a permission letter along with a copy of your passport.
See the following infographic by the Consular Department (in Thai):
********************************************************************