Results 1 to 5 of 5

Thread: How to let my texture looks better under 16 bit mode

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2000
    Posts
    5

    How to let my texture looks better under 16 bit mode

    Hi,

    I use photoshp's gradient tool to create a tif file and use it as a texture. When use 32 bit desktop it looks well, but when i change to 16 bit desktop it looks bad just like a diaper.

    I wonder is there a way to let my texture look better under 16 bit desktop?

    256 color image can use dither to simulate 24 bit rgb image. but 16 bit dither to 24 bit
    is there a dither way?

    regards

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,595

    Re: How to let my texture looks better under 16 bit mode

    Hi !

    It's difficult in 15/16 bit mode, when you have a palette (256 color mode) you can optimize it for the texture, but when you are running in 15/16 bit mode you only have 5 bits per color component (32 shades), so banding is a big problem and I don't think you can do much about it.

    You can for example only get 32 shades of grey in 15/16 bit mode (with some tricks you can get a few more...) with a palette you can have 256 shades of grey if you want to, just an example.

    Mikael

  3. #3
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Nov 2010
    Posts
    2,466

    Re: How to let my texture looks better under 16 bit mode

    use internal format of GL_RGB5

  4. #4
    Junior Member Newbie
    Join Date
    Jul 2000
    Posts
    5

    Re: How to let my texture looks better under 16 bit mode

    I do think there a way. Because under 16 bit desktop, use photoshp to display the image, it's very good. I print screen to image file and use it as a texture in opengl, it looks better than origin texture. And i find it's a
    dither image.

    Originally posted by mikael_aronsson:
    Hi !

    It's difficult in 15/16 bit mode, when you have a palette (256 color mode) you can optimize it for the texture, but when you are running in 15/16 bit mode you only have 5 bits per color component (32 shades), so banding is a big problem and I don't think you can do much about it.

    You can for example only get 32 shades of grey in 15/16 bit mode (with some tricks you can get a few more...) with a palette you can have 256 shades of grey if you want to, just an example.

    Mikael

  5. #5
    Senior Member Regular Contributor
    Join Date
    Aug 2000
    Location
    Turin
    Posts
    258

    Re: How to let my texture looks better under 16 bit mode

    A solution could be to dither the texture procedurally after loading them.
    The only problem is that a dithered texture seen very close don't look that good.

    rIO.sK
    [rIO^sPINNING kIDS] - rio@nospam.spinningkids.org

    -/- This is a signature virus. Add it to your signature. Help it spreading! -/-

Similar Threads

  1. Texture mode?!
    By Xetus2013 in forum COLLADA
    Replies: 0
    Last Post: 12-22-2013, 02:52 PM
  2. Texture filter mode - when apply ?
    By Crucifixio in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-30-2009, 02:26 PM
  3. How to sample the same texture using different filter mode?
    By serg920814 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-05-2005, 06:57 AM
  4. How to let my texture looks better under 16 bit mode
    By chiwei in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 06-09-2002, 08:30 AM
  5. How to use pisking in texture mode?
    By gfly in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 09-29-2000, 05:44 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
  •  
Proudly hosted by Digital Ocean