Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Check my hat.
What can I do?
===>> Blender files: Here and here.
Some faces of your hat mesh are badly oriented. Select all in Edit mode and press ctrlN