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 6 of 6

Thread: fastest method for luminance texture

  1. #1
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Jul 2000
    Location
    S41.16.25 E173.16.21
    Posts
    2,609

    fastest method for luminance texture

    im not caring about quality issues just speed.
    A/ 8bit alpha/intensity texture (best quality results but perhaps slower than B,C,D)
    B/ dxt5 (same memory as #A but i assume a slight overhead for unpacking, is this correct?)
    C/ dxt1 (ie rgb as intensity)
    D/ others?

    zed

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Feb 2006
    Location
    Sweden
    Posts
    748

    Re: fastest method for luminance texture

    A) should be fastest, the others only use less memory, but B and C do produce more texture reads than A, so they may be slower.
    I don't know of anything that would fit into D, but the speed diff would not be that large compared to a corectly filtered luminance texture.

  3. #3
    Senior Member OpenGL Guru Humus's Avatar
    Join Date
    Mar 2000
    Location
    Stockholm, Sweden
    Posts
    2,444

    Re: fastest method for luminance texture

    C) is fastest.

  4. #4
    Advanced Member Frequent Contributor plasmonster's Avatar
    Join Date
    Mar 2004
    Posts
    750

    Re: fastest method for luminance texture

    D) is slowest.

  5. #5
    Member Regular Contributor
    Join Date
    Mar 2005
    Posts
    302

    Re: fastest method for luminance texture

    Humus, just so I understand this right - using RGB DXT1 for intensity is faster than using a plain (should be 1Bpp internally AFAIK) intensity texture?

    Is that ATI-specific (not included in OP's question), or is this performance statement true for all existing hardware and software implementations supporting DXT1?

  6. #6
    Senior Member OpenGL Guru knackered's Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    3,032

    Re: fastest method for luminance texture

    I'd always assumed texture cache coherency is the reason compressed textures are faster that uncompressed. You can fit more texture area in the cache if it's compressed.
    Knackered

Posting Permissions

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