Page 2 of 2

Re: Porting OpenMW to iOS possible?

Posted: 24 May 2019, 01:48
by thephantomfiddler
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?

Re: Porting OpenMW to iOS possible?

Posted: 24 May 2019, 01:51
by AnyOldName3
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.