The Metal by Example Book is Now Available!

Metal by Example is now a book! You can buy it here as a DRM-free PDF.

Since I started this site, I’ve been wanting to turn Metal by Example into a book. Although the blog format is good for quickly publishing techniques one at a time, a book is necessarily a more cohesive experience. For the past month or so, all of my energy has been directed at revising, rewriting, expanding, and editing my Metal content to turn it into a book.

Of course, this project would never have been possible without you, the reader. Thank you for your support over the last year.

If you want to support the work I’ve done here and benefit from the more streamlined, consistent experience of the book, please consider buying it. Thanks again!—Warren

Update (September 13, 2016): Thanks to everyone for the support over the past year! The book is now available on a pay-what-you-want basis. A lot has changed in the world of Metal since I started writing two years ago, and it doesn’t make sense to keep charging full-price for this material, some of which has grown out-of-date. I hope even more people can find it useful, even as it ages, now that price isn’t a factor.

16 thoughts on “The Metal by Example Book is Now Available!

  1. Warren you should sell this on Amazon so that you make more money. The reason I’d like you to make more money is so that you create for us even more content! The way you explain things and how you explain them is beyond phenomenal!

  2. Selling a Kindle book on Amazon or ePub on Apple iBooks could give you a (much) smaller piece of a (potentially) bigger pie. In both cases with DRM.

    If you want to self-publish a print version, check out Ingram Spark. They do print-on-demand and distribute through Amazon and other popular (online) retailers.

    http://gameprogrammingpatterns.com/ is a good example of self-publishing through pretty much every channel there is.

  3. I am new to study Metal. I am interested in buying the book, later there will be a version for Swift?
    Can with Metal Shaders, through its building of paths vectors, recognize objects in the image in real-time?
    I read articles on OpenCV and OpenGL, whereas I start from zero, I would like to learn with Metal seems more powerful in its use of the GPU. I apologize if I said nonsense, it would be driven in the most convenient route.
    Thank you

    • I’m not planning to release a Swift edition of the book. The concepts transfer pretty readily from Obj-C to Swift, though. As far as computer vision is concerned, any task you can do with GLSL or OpenCL kernels can be done with Metal, and there are a lot of common concepts among them. If you’re developing for Apple’s platform, Metal is, in my opinion, the best choice.

      • Have you come up with anything? I’ve tried some myself but there are a few swift specific differences in the setup I can’t get to work. Would love to work together on porting the whole book to swift or something!

  4. Thank you. I bought your book and it was great. Helped a lot. I would like to learn Open GL ES 2.0 for iOS now. Can you recommend a good book for that?

  5. Basel Farag said “Warren may not be working on a Swift version but…. *eh ehm* I am!”
    So anything is ready now? I’m really interested.

Leave a Comment