How do you actually make a chroma key can key out white? I managed to do for black color,

Is it possible to make a chroma key effect that is for white color objects in user camera? i managed to do for black tho

If you are only looking to mask out based on luminance, it’s called “luma key.” You can take the luminance and put it through a smooth step, step, or clamp to isolate the color range you want to mask out.