Keep in mind that color grading will only work in the MFP game version.
MFP uses areas to change color gradings, but since there's no available MFP editor suite, you need to re-add it manually to the TDD suite (which needs to be already installed for this).
To do that, you need to open editor/AreaTypes.cfg
and paste this in the beginning of the file:
<Type Name="ColorGrading"> <EditorSetupVars> <Var Name="Color" Value="1 1 0 1" /> </EditorSetupVars> <Vars> <Var Name="LookUpTable" Type="File" Extensions="png" DefaultValue="" Description="Colorgr:) file" /> <Var Name="FadeTime" Type="float" DefaultValue="1.0" Description="Fade time"/> </Vars> </Type>
From now on, in the Level Editor you can select the area tool and choose the ColorGrade type. It will allow you to place new color ColorGrade areas, pick a color grading texture, and change the fade time.
Moreover, now the ColorGrade areas in the original maps show up in the editor and you can customize them as you want. The areas will show up as yellow.
Color grading textures are located in \textures\gradingmaps
.
Color grading is a way to map the color of a pixel to another color. This can be used to change the brightness, contrast, hue, saturation, … of a whole image.
It is possible to smoothly fade between two different grading templates.
It uses a small 3D texture with a color as input and another color as output.
grading.jpg
Requirements
Photoshop or any other image editing software
Setup
Take a screenshot of the game with color grading disabled
Open the screenshot in Photoshop
Drag and drop the default grading texture on the canvas (\textures\gradingmaps\colorgrading_base.png
) or (Default Grading Texture )
Place the color strip anywhere in the image
Flatten the image to merge all the layers
Select “Image > Mode > 16 Bits/Channel” in the top menu
Adjustments
Use any of the options in “Image > Adjustments”
These can be used to change the brightness, saturation, contrast and so on
Any changes you see on the image in Photoshop will carry over to the game
Layers
It is also possible to use the any of the layer blend modes
There are two kinds of layers allowed:
Solid color
Dupilcate of the first layer
It is possible to duplicate the first layer and make adjustments to it and then blend it
The use of Layer Masks is allowed as long as they are generated from the image and not hand painted
Saving
Crop the color strip from the canvas, make sure the resulting image is 256×16 px
Select “Save As…” and set the format as “PNG“ and save it in the folder “\textures\gradingmaps
”