Retouch
For the information about the retouch material refer to retouch material.
Example effect: retouch
#
Steps to implementPut the textures and fragment shader file into the effect folder:
- redmask_ex.png
- teeth_ex.png
- eyes_whitening_ex.png
- eyes_highlight_ex.png
- soft_ex.png
- barbie.png
- finalColorFilter.fsh
Switch retouch state to enabled in the draw order.
Set textures from step 1 as values for the appropriate options for retouch material.
Disable the NORMAL_LAYER option. The current example doesn't use this option, but you can find and test it in the effect folder.
Press CONSTRUCT button.
Now we can add LUT file for the whole image. Without this step you don't need barbie.png and finalColorFilter.fsh. Open config.json file and add the "final" value to the general section.