How to add mask information when display NIFTI images on GLANCE?

Hello to everyone in the VTK community! I am an undergraduate student majoring in computer-related fields, currently utilizing the open-source Glance project to complete my final project. I need to upload NIfTI files (3D medical images) and display them on a webpage. However, the native Glance application does not support parsing masks for uploaded NIfTI files, resulting in a significant discrepancy between the displayed 3D model and reality. As shown in the image below, using a liver 3D image as an example, Glance only displays a tubular image. Could you please suggest any viable solutions to this issue? Thanks very much for any help on that!