I am using the Occlusion material provided in the magic leap examples which uses the following shader :
Also, the occlusion material appears black in video recordings. I came across a similar post that suggested to enable segmented dimming as a solution: Occlusion shader video recording issues - #10 by petrebasura
I did not face this issue when I used the Magic Leap Example project - I didn't have the dimmer enabled and the recording seemed to render the occlusion fine.
However, for my own project which is configured with MagicLeap-MRTK, I find issues regarding the black rendering in the recordings. I tried enabling basic segmented dimming and still faced this issue. Can you please advise on how can this be fixed as I need occlusion in my project. Thanks.