Porting OpenMW to iOS possible?

For new and upcoming OpenMW branches and ports; move fast and break things!
Posts: 32
Joined: 06 Mar 2019, 01:03

Re: Porting OpenMW to iOS possible?

Post by thephantomfiddler » 24 May 2019, 01:48

AnyOldName3 wrote:
23 May 2019, 23:29
Yes, unless we change OpenMW enough that it runs on OSG compiled for GLES, and if that happens, it won't be necessary on Android, either.
So just compile OSG for GLES and rewrite the glsl shaders?

User avatar
Posts: 1458
Joined: 26 Nov 2015, 03:25

Re: Porting OpenMW to iOS possible?

Post by AnyOldName3 » 24 May 2019, 01:51

The shaders are mostly kind of fine ish. The main problem is that lots of things don't use shaders at all, and you need shaders for GLES to work. OSG predates modern OpenGL, so by default, it uses some seriously old OpenGL that was deprecated before GLES was a thing, and so simply isn't supported on mobile GPUs. If you want to use modern OpenGL instead, you have to give up on lots of OSG features. Xyzz or Sandstranger might be able to fill in more of the details, as despite being OpenMW's main OpenGL guy, I actually don't know what is and isn't unsupported and what is and isn't workable around beyond just the shader/FFP stuff.
AnyOldName3, Master of Shadows

Post Reply