Include the following details (edit as applicable):
- Issue category: Real-time Mapping-Depth
- Device type & OS version: iOS
- Host machine & OS version: Mac
- Issue Environment : Unity Remote / Unity Mock / On Device / Dev Portal
Description of the issue:
How to detect distance of real world elements to the camera? I would like to place a virtual light source and then do phong light using the position of elements relative to the camera to calculate a virtual diffuse value.
I dont really know where to start from. I appreciate the help.