[mono-android] Compressed texture - OES Palette8 RBGBA - white screen
Rodrigo 'r2d2rigo' Diaz
r2d2rigo at gmail.com
Wed Feb 29 17:12:45 UTC 2012
I think you need to call other extension function to check for availability
of DXT/PVRTC, since that one doesn't even show ETC1, and your Android
version does support it. Try using this
app<https://market.android.com/details?id=com.realtechvr.glview&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5yZWFsdGVjaHZyLmdsdmlldyJd>
to
make sure you support other formats.
And since your texture turns white, I'd say it's a problem of the bitmap
data, since any minimal problem with the GL calls launches an Exception on
the debugger.
2012/2/29 conio <konrad at konsoft.eu>
> Hey, thanks for the answer. Regarding DXT or PVRTC support it's not that
> good.
> http://i44.tinypic.com/ftouhh.jpg
> It's an image of supported texture compression formats on my HTC Desire Z
> (2.3.3) - I got it by calling GL.GetInteger(All.CompressedTextureFormats).
> So supported are from 0x8B90 to 0x8B99. According to OpenGL ES specs, these
> are only OES palletes - neither DXT nor PVRTC there (PVRTC with Alpha is
> 0x8C02). So, I need to use OES? And do you have any idea why the code I
> posted doesn't show texture? Is code wrong, or if it is correct, might be
> that file with texture is bad?
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Compressed-texture-OES-Palette8-RBGBA-white-screen-tp5523218p5525446.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120229/1dc9256b/attachment.html>
More information about the Monodroid
mailing list