Can’t get all textures to tile.

This topic contains 1 reply, has 1 voice, and was last updated by  RichardUK 8 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29733

    RichardUK
    Member

    I call

        glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
        glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);

    when I set up my textures. For textures in the sampler 0 this works fine. But for textures in sampler 1 and 2 they are always clamped. What Can I do to fix this? I’m a little lost. In the emulator the samplers 1 and 2 are tiled. It’s only clapped all the time when ran on the hardware.

    Ta. 🙂

    #32835

    RichardUK
    Member

    I fixed it, need to add ‘mediump’ the decalation of my ‘varying’ vars used to pass the UV’s over.

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