Imagination PowerVR SDK Blog

Displacement Mapping Demo for IPhone


#1

It seems that this demo does work on the simulator only, I tried to run it on the Iphone but the texture lookup in the vertex shader always return 0 so so there is no actual vertex displacement. Tried to code a small program myself without the sdk but the outcome was the same.





Can someone confirm that texture reading is not possible in the vertex shader on the IPhone?


#2

There is no vertex texture lookups on the iPhone ( this functionality is for some reason disabled)





It is spelled out in their OpenGL doc for GLES 2.0.



#3

Warmi is correct - this is why the DisplacementMapping training course is not supposed to be in the iPhone package as it’s a bit misleading. Something has obviously gone wrong in our packaging code - apologies for the confusion.