-
Notifications
You must be signed in to change notification settings - Fork 346
Dynamic CPU texture fails to render on iOS #35
Comments
FYI, texture are supposed to work transparently on any platform, so it is likely a bug. |
You're welcome! iOS is proving to be quite a PITA, but Paradox engine is already so good, it keeps me going. ;) |
Usually iterating on Windows (and Android) is much easier, iOS should be kept for testing/deployment (if possible) due to slower iteration speed -- due to static linking, etc.... |
Agreed. That's what I've been doing, until now at least, when I wanted to verify that iOS works too. |
That was a problem on our side (old version of OpenTK iOS used to have different overloads -- it wasn't updated properly). It will be fixed in next release (next week, let me know if urgent). |
I can wait, especially if it means issue #37 will be fixed. Also, I don't want to be a pain, but what about the SpriteBatch issue with custom effects not working on iOS (and Android)? |
You mean #30? Is it not fixed already? |
Not quite, #30 works on Windows, but not Android or iOS. |
Can I reproduce it by using code of #30 as is on Android/iOS? |
That's what I did, but I'll double check (I tested it soon after it came out). |
Just tested on Windows and Android. Worked on Windows. Failed on Android - rendered a blank screen. I'll save iOS for later, but that should be enough evidence. |
I guess this is just a missing shader (need to add it in pdxfxlib). I will take a look though to make sure. |
Fixed in newly released alpha11. |
…ster-1.9 * commit '21a01d1b68bef8f568a194d103f3ae4513f311db': [Editor] Allow RenderFeature shaders to be broken [Shaders] cbuffer layouts were not properly preserved
Attached (at the bottom) is a repro project that renders as expected on Windows and Android, but not on iOS.
I'm working with strange texture sizes, but ideally the Paradox framework takes care of the details to make such textures work transparently on platforms with specific texture size / stride requirements. If that is indeed the plan then this is a bug; otherwise I'd greatly appreciate some advice on getting this to work on iOS. ;)
Rendered on Windows (and Android):
(Targeting Android 4.0.3 with Nexus 5 running 4.4.4)
Rendered on iOS:
(Targeting Universal 6.1 with iPad 3 running 8.0.2)
CpuTextureRepro.zip | uploaded via ZenHub
The text was updated successfully, but these errors were encountered: