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?
@orle I am not seeing any performance issue on my iPhone or iPad. do you have a newer device to try on? iPad Air 2 is 5 years old and has been discontinued a couple of years ago.
Ok, I’ve tried on my iPhone X and it can reach 60fps stable with 15 lights. The iPad Air 2 is clearly very old hardware…
I didn’t expect so much difference in performance between the iPhone X and the Macbook Pro (I can get 60fps with 60 lights on the mac). I expected the iPhone X GPU to be almost as powerful as the discrete one on the mac, but obviously it’s not