We’re excited to announce that the first 8 chapters of our book, Metal by Tutorials, are now available!
This update adds four new chapters to the book, which is in early release and available on our online store:
- Chapter 5, Lighting Fundamentals: Lighting and beyond! In this chapter you’ll learn basic lighting; but more importantly, you’ll learn how to craft data in shaders, and be on the path to mastering shader artistry. Lighting, shadows, non-photorealistic rendering – these are all techniques that start with the methods that you’ll learn in this chapter.
- Chapter 6, Textures and Samplers: Now that you have light in your scene, the next step is to add color to it. In this chapter you’ll learn about UV coordinates, texturing a model, samplers, mipmaps, and the asset catalog.
- Chapter 7, Maps and Materials: This is the final chapter on how to render still models. In the previous chapter, you rendered a simple house with a single color texture imported using Model I/O. In this chapter you’ll find out how to use material groups to describe a surface, and how to design textures for micro detail.
- Chapter 8, Character Animation: Rendering still models is a great achievement, but rendering models that move is even more fun. So far your models have been simple inanimate props. You’ll now render characters with body movement and give them personality. In this chapter, you’ll start off by bouncing a ball, and then move on to rendering a friendly skeleton.
WWDC 2018 Metal Changes
With OpenGL and OpenCL now deprecated, WWDC 2018 brings Metal to the forefront of graphics and compute on macOS, iOS and tvOS!
We’re tremendously excited about the new features in Metal 2, and, of course, we will be covering these in upcoming editions of our book:
- Ray tracing using Metal Performance Shaders: Ray tracing is far more accurate than rasterization, and real-time ray tracing is the ultimate goal of rendering. Ray tracing is traditionally performed on the CPU, but using Metal Performance Shaders, you’ll be able parallelize it on the GPU. If you have multiple external GPUs, you’ll be able to achieve phenomenal performance.
- GPU-Driven Command Encoding: You can now encode your commands on the GPU rather than the CPU, using a compute shader.
- New GPU debugging tools: These look simply magnificent! The dependency viewer visualizes all your render passes and combines them into a beautifully rendered flowchart. The interactive shader debugger lets you examine your pixels as you step through your shader functions and change your shader output on the fly.
Vertices aren’t forgotten – you can inspect them with the new geometry viewer. This has a free-fly camera so that you can investigate issues outside your camera frame. If you have an iPhone X or newer, you’ll be able to use the A11 shader profiler to see how long each statement in your shaders takes to execute. Apple have really worked hard on these and other GPU profiling tools!
And as always, you’ll receive free updates for this book when you purchase the early-access version!
Where to Go From Here?
Here’s how you can get your hands on a copy of Metal by Tutorials:
- If you’ve already pre-ordered Metal by Tutorials, log in to our online store and download this newest early-access edition here.
- If you haven’t yet bought Metal by Tutorials, what are you waiting for? Head over to our online store, where you’ll also enjoy a limited-time launch price of $44.99. But hurry, as this deal is only good until the end of Friday, June 8!
The Metal by Tutorials book team and I hope you enjoy this second early-access edition of the book!