You’ve probably noticed by now that the lights are on in ROBLOX Mobile. As with many significant rendering updates, getting dynamic lighting to illuminate iPhone and iPad screens was a tricky endeavor that brought our engineers face to face with some very specific technical hurdles. We got the chance to sit down with Graphics and Rendering Specialist Arseny Kapoulkine to get the scoop on porting dynamic lighting to mobile devices.
Shaders
To understand how we pulled this off, let’s start simple. Computers that can support dynamic lighting (about 97% of the computers running ROBLOX) are able to do so by utilizing shaders built into their graphics card. So our first question was, “will we be able to utilize the graphics technology bundled into iPhones and iPads to utilize shaders?” Lucky for us, iPads and iPhones 4 and higher have shader support baked in.
Continue reading