iOS : Need Control Over Background Overlay Alpha During Non-LiDAR Camera Scan
Hello,
During a non-LiDAR scan, when the scanning starts, a background color overlay appears on the camera feed with some transparency (alpha value).
I’ve successfully set the background color as needed via the following method:
NativeWrapper > Scene.h > void setBackgroundColor(float r, float g, float b)
However, I haven't been able to locate the logic that controls the alpha (transparency) value of this overlay specifically for the non-LiDAR scan mode.
Could you please point me to where this alpha value is being set or managed? Any guidance would be greatly appreciated.
Thank you!
The gray color is created by this shader: https://github.com/introlab/rtabmap/blob/9650b71d8eb48e1bf9f96ee3e164106601754263/app/android/jni/background_renderer.cc#L70-L79