1. SDK Help Center
  2. Effect Construction

How to disable beautification in test effect?

Majority of our test effects have minimal face beautification enabled (e.g. eyes coloring). To disable just eyes coloring please remove or comment out the following from the retouch.frag file:

#define EYES_WHITENING
#define EYES_HIGHLIGHT

If you want to disable all the beautification including morphing, change the following in cfg.toml:

  1. Remove or comment out: warp_mesh = "BeautyFaceSP.bsm2".
  2. From draw_order remove: "!glfx_UPDATE_BG", "retouch".