I am trying to create a cubic map of six jpg files from the Internet in GLKit. It works fine on my iPhone 6+, but when I run the same code on the βNew iPadβ, the cube map is just black when applied to the object. If I try the same with png files, this will work. Is there anything specific that needs to be done to properly download jpg to certain equipment?
The error cubeMapWithContentsOfFiles is nil
, so it looks like GLKit believes that it loaded the texture correctly.
Here is a demo project http://s.swic.name/Yw8F
source share