I am trying to make transparent openGLView for my game, I want it transparent only for one feature within my game. Actually, it is a feature related with camera of the device. I am using UIImagePickerController for my camera, but I am unable to make the GLView transparent.
I have tried using Ray's tutorial, And I am posting some of my code here:
glClearColor(0,0,0,0);
[CCDirector sharedDirector].openGLView.backgroundColor = [UIColor clearColor];
[CCDirector sharedDirector].openGLView.opaque = NO;
Then I am having a UIView which I am adding as a subView to the UIWindow and then I am adding the Picker view to UIView.
Any ideas's on how can I make this openGLView transparent?
Thanks for your time.