Announcement

Collapse
No announcement yet.

Quake colormap question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Quake colormap question

    Hi, I had a question about the Quake colormap. I have a custom palette that does not in any way resemble Quake's, so therefore, I need to generate a new colormap to match this new palette. I was wondering if there were any utilities that I could use to generate one using the same formula that id used on the original colormap, or if no utilities exist for that, if the original formula is known, at least in approximation.

    Thanks.

  • #2
    In Photoshop, load a screenshot of Quake or a specific texture and go to (Image) - (Mode) - (Indexed Color). Under "Palette", choose Custom, and it should give you a color palette that you can save and load as a swatch to use.

    For example this screenshot:



    gives this colormap:



    Might not be the easiest method of getting a comprehensive map of all colors used in Quake, but it's a start.

    Comment


    • #4
      The colormap is really only needed if you're targetting a software engine. Some hardware accelerated engines may also make use of it, but most don't.

      Each column in the colormap is just an index into the palette for a best-match light-scaled version of the colour in question. So - say - column 128 would be for a base palette index of 128, with each entry in that column being another palette index from brightest light (2x the colour) to darkest (black). The exception is for fullbrights where the base colour is repeated down the entire column.
      IT LIVES! http://directq.blogspot.com/

      Comment


      • #5
        When I first read this I was thinking that the palette and the color map are useless these days...yes? I decided since I wasn't sure I would just try and find what the post was asking for.
        http://www.nextgenquake.com

        Comment

        Working...
        X