By kklasing
on Wed, 06/20/2012 - 17:08
Hi,
I am developing an iPhone app using framemarkers and have a problem with textures and materials.
I have the issue that in order to get depth/shadows in my 3D model, I have to add glMaterialfv settings for the rendering. However, doing this give me a really nice 3D model, but also does block the carema view. Is shows the 3D model on a black background. Removing the glMaterialfv statements, does give me a normal camera view, but no depth/schadows on the 3D model.
Hope anyone can help out.
Koen
Re: Light and Materials in openGL 1.1
Re: Light and Materials in openGL 1.1