Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Is that possible? (textures)

  1. #1
    Junior Member Newbie Chauz's Avatar
    Join Date
    Apr 2012
    Posts
    1

    Is that possible? (textures)

    Is there any way to create a texture from others? I have a tileset, and I want to mix each texture tile (32x32) in a big texture (it will be the world map)...

  2. #2
    Senior Member OpenGL Guru
    Join Date
    May 2009
    Posts
    4,719

    Re: Is that possible? (textures)

    That's generally something you do before making it into a texture.

  3. #3
    Senior Member OpenGL Pro BionicBytes's Avatar
    Join Date
    Mar 2009
    Location
    UK, London
    Posts
    1,171

    Re: Is that possible? (textures)

    Yes you can.
    This is usually done either as an offline process or a pre-rendering process.
    Use a framebuffer object and blend or whatever your tiles on to that. Save the FBO texture attachment image as your new texture.
    You don't have to use FBO you could just reuse the standard back buffer if you wish.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •