I use the example OGLES2StencilBuffer change the Sphere.pod(with stone .pvr)to my file terrain.pod (with the terrain_tex.pvr), but there is a error : can’t load the terrain_tex.pvr .when I use another pvr file (ex : stone ,.pvr), it can run .ofcoure can not see the terrain .
If you look at the source code for OGLES2StencilBuffer you will see that the PVR files are not loaded from the POD file itself but from the application and matched to the POD file materials names. You can change the code easily to get the texture file name from the POD file materials.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.