make PiP canvas, stream camera on it, execute setPiPEffect [4]
cam = "camera" camCreate (player modelToWorld [0,-5, 2]);
cam cameraEffect ["internal","back","rtt"];
"rtt" setPiPEffect [4];
with uiNamespace do {
pic = findDisplay 46 ctrlCreate ["RscPicture", -1];
pic ctrlSetPosition [0,0,1,1];
pic ctrlCommit 0;
pic ctrlSetText "#(argb,512,512,1)r2t(rtt,1.0)";
};