I wrote a simple opengl program for testing alpha
blending(translucence). The program could show the correct alpha
blending on the emulator. But on Sony Ericsson X10 phone, alpha
blending doesn't work.
I used glMaterialfv() to set the alpha value, like the following code:
float diff[] = { 1.0f, 1.0f, 1.0f, 0.5f };
gl.glMaterialfv( GL10.GL_FRONT_AND_BACK, GL10.GL_DIFFUSE,
diff, 0 );
Does any one encounter the same problem or have any experience on
this ?
Thanks!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en