| CPC G06T 15/60 (2013.01) [G06T 15/506 (2013.01); G06V 10/25 (2022.01); G06V 20/20 (2022.01); G06T 2215/16 (2013.01)] | 12 Claims |

|
1. A method implemented by a device, the method comprising:
determining a real object in an augmented reality scene observed through the device, for which a set of candidate shadow maps and associated lighting models are stored in a memory associated with the device;
selecting, from the set of candidate shadow maps, a candidate shadow map that matches with a shadow map determined from a shadow mask of the real object in the augmented reality scene as observed through the device; and
adding virtual shadows to virtual objects in the augmented reality scene according to a lighting model associated with the selected candidate shadow map; and
wherein the shadow mask of the real object in the augmented reality scene is based on shadows cast by the real object on a non-planar surface on which the real object is placed, a geometry of the non-planar surface being included in a geometric model used to obtain the set of candidate shadow maps.
|