Ticket #53 (new task) — at Initial Version
Color grading
Reported by: | gongminmin | Owned by: | gongminmin |
---|---|---|---|
Priority: | major | Milestone: | 4.0.0 |
Component: | Core-Rendering system | Version: | |
Keywords: | Cc: |
Description
Add color grading post process, including rendering and tools.
Color grading is very important for high quality rendering. The kernel of it is a look-up table that transform a LDR RGB color to another. The look-up table can be store in a 32x32x32 3D texture. Use RGB as coordinate to do the looking up.
The editing process has 3 steps:
1. Generate a identity look-up table. The output is the same as input. It's a 2D image with 32x1024, flatten the Z dimension.
2. Capture a frame in game, tune it's RGB curves inside image processing tools, such as PhotoShop?.
3. Apply the tuned RGB curves to the identity look-up table image.
4. Pack the 2D image to 3D volume texture.
So what we need is as these:
1. A color grading post process.
2. A tool to generate a identity look-up table.
3. A tool to pack that table into 3D.
The tool in 2 and 3 can be done by one single tool with different command lines.