Displacement Mapping Demo for IPhone

This topic contains 2 replies, has 3 voices, and was last updated by  Gordon 7 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #29985

    fededevi
    Member

    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?

    #33548

    warmi
    Member

    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.

    #33549

    Gordon
    Moderator

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.