I forgot to say that the textures are all of power of 2.
2011/3/17 Terje Olsen :
> Hello.
>
> I'm writing a simple game with OpenGL.
>
> I've been using the emulator to test it up until now, and it has
> worked fine there. Today I deployed it to my phone, and some part
Hello.
I'm writing a simple game with OpenGL.
I've been using the emulator to test it up until now, and it has
worked fine there. Today I deployed it to my phone, and some parts of
the rendering was not working.
I load textures with the following settings.
gl.glTexParameterf(GL10.GL_TEXTURE_2D,
It seems like you are setting color to be completely transparent. Try
setting alpha to 1.0 instead of 0.0? Also make sure that depth to -9 is
visible. Quickly test with -1 for example.
17. mars. 2011 21.23 "Robert Green" :
Debug the actual bitmap dimensions after you decode it. It could be
getti
3 matches
Mail list logo