Glue for cosplay is a pain in the butt. Especially when you’re gluing foam, which is porous, to fabric, which leaks through and changes the color in weird ways. I cut out foam in a little pattern and used different types of glue to try and attach a swatch of fabric.
These are the four that stuck at all, unlike the non-toxic spray adhesive and a couple other glues. Top left is Shoe Goo, bottom left is 3M 78 Spray Adhesive, top right is Gorilla Glue, and bottom right is fabric glue. As you can see, the more toxic the glue, the better it works.