Results 1 to 2 of 2

Thread: WebGL Tiling and Mipmapping issues

  1. #1
    Junior Member
    Join Date
    Feb 2012
    Posts
    3

    WebGL Tiling and Mipmapping issues

    In order to combine many shapes into a much smaller group of meshes I am utilising a tiling atlas. However there are problems with this because of mipmapping.

    Even with a significant border area on the tiles eventually all the tiles mipmap into a single pixel and have therefore merged into a single tile.
    Currently my border area is 12.5% of the tile size all the way around.

    Due to many issues relating to working directly from the internet it would be very nice to be able to use tiling effectively. This means either:

    dynamic sampler arrays.
    Or a tile atlas.

    Tile atlas should be the easiest to impliment, however as far as I can see there does not seem to be any access to the GL_TEXTURE_MIN_LOD and GL_TEXTURE_MAX_LOD settings. Which could be use to prevent all the tiles merging into one.

    Is this feature likely to ever be available?

  2. #2
    Junior Member
    Join Date
    Feb 2012
    Posts
    3

    Re: WebGL Tiling and Mipmapping issues

    Oh I understand that I can overcome the problem by reducing the tiles to 1/4 size and having each tile being in a quad and sampling from the middle. But this does seem an excesssive use of graphics :P

    And in theory it can still eventually bleed into a single pixel but at such extreme range that it probably makes no difference.

Similar Threads

  1. Texture Tiling Problem
    By GreenToad in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 02-07-2005, 06:04 PM
  2. Tiling textures with integer UV's.
    By Steven Haggerty in forum OpenGL ES general technical discussions
    Replies: 3
    Last Post: 07-09-2004, 06:02 PM

Posting Permissions

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