Hi
I found out myself that I needed to give normal-vectors to the OpenGL
engine. I went back to this question to explain what my solution was,
just to see that someone already had explained what the problem was.
Thanks anyway.
Regards Per Steffensen
--~--~-~--~~~---~-
Steff wrote:
[...]
> I am playing with OpenGL and especially light in OpenGL. I have tried
> to set light in the GLSurfaceView application in ApiDemos (Under
> Graphics / OpenGL ES).
[...]
> gl.glEnableClientState(GL10.GL_VERTEX_ARRAY);
> gl.glEnableClientState(GL10.GL_COLOR_ARRAY)
I also use:
gl.glEnable(gl.GL_COLOR_MATERIAL);
On Oct 29, 6:31 pm, Steff <[EMAIL PROTECTED]> wrote:
> Hi
>
> I am playing with OpenGL and especially light in OpenGL. I have tried
> to set light in the GLSurfaceView application in ApiDemos (Under
> Graphics / OpenGL ES).
>
> I just try to
3 matches
Mail list logo