sceneview-android icon indicating copy to clipboard operation
sceneview-android copied to clipboard

How to show shadow of a model using ArSceneView?

Open Devansh-Maurya opened this issue 9 months ago • 2 comments

I have a model of a card and I want to show the shadow of it when it is placed on a plane. Without the shadow, the model appears floating in space even when placed on a plane. I tried setting setCastShadows(true) and setReceiveShadows(true) on the model node but this does not seem to have any effect.

What can be done to show the shadows? Is there any sample app anywhere that achieves this effect?

Devansh-Maurya avatar Sep 14 '23 05:09 Devansh-Maurya