Any ideas why adding this code to my scene causes nothing to show up? gl.glEnable(GL10.GL_LIGHTING);
float[] LightAmbient= { .9f,.9f, .9f, 1.0f }; float[] LightDiffuse= { .8f, .8f, .8f, 1.0f }; float[] LightPosition= { 0.0f, 0.0f, 0.0f, 1.0f }; gl.glLightfv(GL10.GL_LIGHT1, GL10.GL_AMBIENT, LightAmbient, 0); gl.glLightfv(GL10.GL_LIGHT1, GL10.GL_DIFFUSE, LightDiffuse, 0); gl.glLightfv(GL10.GL_LIGHT1, GL10.GL_POSITION, LightPosition, 0); gl.glEnable(GL10.GL_LIGHT1); -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en