Search:

Type: Posts; User: thesk

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    5,271

    Re: Multitexturing ... again

    Currently the texture is not yet optimized. Currently I use a .png-image: 24bit + alpha. 16Bit should work. I have not yet tested this because the graphics are not yet ready and I am not sure about...
  2. Replies
    6
    Views
    5,271

    Re: Multitexturing ... again

    Thanks. This did not exactly work... but it contained the trick I was looking for: using (1-alpha) for the calculation!



    glActiveTexture(GL_TEXTURE0);
    glClientActiveTexture( GL_TEXTURE0 );...
  3. Replies
    6
    Views
    5,271

    Re: Multitexturing ... again

    Perhaps a little example will help:


    1st field is the background from the current scene
    2nd field is the texture 1
    3rd field is the texture 2
    4th field is the result
    . = transparent pixel
  4. Replies
    6
    Views
    5,271

    Multitexturing ... again

    Hello,

    I am currently trying to improve speed on a tilemapped game. The tiles are all in one big texture. If two or more diffrent floor tiles are neighbours the system creates a transistion on one...
Results 1 to 4 of 12