Skip to content

Levels: Color correction

Triangel edited this page May 10, 2016 · 5 revisions

You can use color correction (also known as color grading) to set the proper mood of your levels. Color correction is applied to the image the player sees on the screen.

Qfusion uses color lookup textures, allowing you to enhance the image slightly or to change the colors completely.

You can use any image editor to create the lookup textures. The process of making one is simple:

  1. Take a screenshot of your level.
  2. Open the screenshot in an image editor.
  3. Paste the neutral lookup texture located below onto the screenshot and merge the two so modifications are applied to both the screenshot and this lookup texture.
  4. Apply your adjustments to the image.
  5. Crop the lookup texture, which should be sized exactly 16x256, from the image and save it in gfx/correction/ in the game directory in .tga format.

Neutral color LUT

On the level, set the colorCorrection parameter of worldspawn to the path of your lookup texture, including gfx/correction/.

You can toggle the cg_colorCorrection console variable to toggle the effect. If you modify the texture while the game is running, use the vid_restart command to reload the textures and test your changes.

Clone this wiki locally