By SteveRogers
on Wed, 06/20/2012 - 17:06
Hi, I hope someone can help.
I have an app using OpenGL ES 1.1 and I can't get lighting to work in the renderFrameQCAR callback. My object doesn't have a texture, just a glColor4f (which changes as an indicator to the user). I can light it nicely in my own renderFrame but whatever I try it just comes out flat in the QCAR one. I notice there are notes on the site about lighting being disabled but does that mean I can't turn them on again?
I assume I could get it to work using shaders in 2.0 but would prefer not to port when everything else is working so well.
Thanks
Edit:
This problem has gone away by changing the order the objects are drawn in but I don't know how or why. If anyone hits a similar problem I'd be happy to dig deeper and try to isolate the relevant gl calls.
Re: Will glLight work in renderFrameQCAR?
Re: Will glLight work in renderFrameQCAR?
Re: Will glLight work in renderFrameQCAR?
Re: Will glLight work in renderFrameQCAR?
Re: Will glLight work in renderFrameQCAR?