nx_makeup.nx
buildroot/runtime/nx_makeup.nx
about
nx_makeup.nx -- MAKEUP layer (the LT_MAKEUP layer type from nx_char_layers, operator "add layers of ... makeup").
Unlike clothing (worn geometry), makeup is a COSMETIC recolor/overlay of face REGIONS painted by the photoreal
shader (nx_sdfrender mats 12/13/16). v0 recolored lip parts only; ★v2 (2026-07-07, the crash-session follow-ons):
EYESHADOW = appended thin LID parts (mat 16, between lash line and brow) + BLUSH = appended cheek-APPLE parts
(mat 13, low + frontal -- the old cheek-6/7 recolor sat in the shadowed under-eye zone and read as a dark patch,
exactly why it was deferred). Applies to the DETAILED sdf_face; call AFTER sdf_face (+ hairstyle) so appends
stack correctly. license_tier: ORIGINAL
dependencies 2 imports · 6 importers
imports: nx_syscalls.nxnx_sdfrender.nx
imported by: nx_face_project_gate.nxnx_face_style_gate.nxnx_faceanat_morph_gate.nxnx_faceanat_stereo_gate.nxnx_makeup_gate.nxnx_swgpu_showcase.nx
structs
| none |
consts
| 12 | const MK_LIPSTICK: i64 = 12 |
| 13 | const MK_BLUSH: i64 = 13 |
| 14 | const MK_EYESHADOW: i64 = 16 |
| 16 | const FACE_CHEEK_L: i64 = 6 |
| 17 | const FACE_CHEEK_R: i64 = 7 |
| 18 | const FACE_LIP_UP: i64 = 10 |
| 19 | const FACE_LIP_LO: i64 = 11 |
| 21 | const MKUP_NONE: i64 = 0 |
| 22 | const MKUP_NATURAL: i64 = 1 // blush + soft lip |
| 23 | const MKUP_GLAM: i64 = 2 // bold lip + blush |
functions
| 26 | func makeup_apply(base: i64, lips_on: i64, blush_on: i64) -> i64 |
| 36 | func makeup_apply2(base: i64, n0: i64, lips_on: i64, blush_on: i64, shadow_on: i64) -> i64 |
| 69 | func makeup_style2(base: i64, n0: i64, style: i64) -> i64 |
| 74 | func makeup_style(base: i64, style: i64) -> i64 |
| 79 | func makeup_name(s: i64) -> *u8 |