Can't get all textures to tile.


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. :slight_smile:

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