Hi, first of all: excellent book, I’m enjoying every bit of it.
I’ve made it to the Multipass & Deferred Rendering chapter, followed the tutorial and managed to get the final code up and running without issues on a Mac. But when I tried to run it on an iOS device, the performance is awful (10 fps on an iPhone X and 5 fps on an iPad Air 2), when the same code runs smooth at 60fps on a MacBook Pro.
I’ve also tried Apple’s Deferred Lighting sample code and it works fine both on macOS and iOS (60 fps on both). So I think maybe there’s a bug somewhere in the book’s sample code that it’s causing this low fps on iOS devices. Any ideas?