-
Notifications
You must be signed in to change notification settings - Fork 126
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:
- Take a screenshot of your level.
- Open the screenshot in an image editor.
- 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.
- Apply your adjustments to the image.
- 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.
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.