I'm interested in getting some kind of terrain working on iOS - cross platform really, and have noted the other posts stating OpenGL ES2 does not allow reading back textures so the new terrain doesn't work AND the old terrain (TerrainSceneManager) has been removed from 1.8+ so I'm interested in attempting to fix the Terrain Component.
At first glance, it looks to me like the only places the Terrain component reads from texture buffers is in Terrain::copyBlendTextureChannel() - is there somewhere else that it tries to do stuff OpenGL ES2 doesn't allow? I'm thinking maybe at least trying to disable that functionality at first to at least get it working without blending support.
Thoughts?
Solution for iOS Terrain in 1.9.x
-
- Gremlin
- Posts: 178
- Joined: Tue Mar 20, 2007 3:29 am
- x 10
-
- Beholder
- Posts: 1512
- Joined: Fri Feb 22, 2013 4:44 am
- Location: Deep behind enemy lines
- x 139
Re: Solution for iOS Terrain in 1.9.x
AFAIK a solution was implemented and the Terrain component should work on iOS. I am using it on Android right now and I'll be using it on iOS when I get around to building for that platform.
-
- Gremlin
- Posts: 178
- Joined: Tue Mar 20, 2007 3:29 am
- x 10
Re: Solution for iOS Terrain in 1.9.x
Awesome! I didn't see that it had been made compatible. Thanks!