Post marked as solved
Post marked as solved with 5 replies, 1,804 views
Hi,
I'm trying to replicate ground shadow in this video. However, I couldn't get it to work in the simulator.
My scene looks like the following which is rendered as an immersive space:
The rocket object has the grounding shadow component with "cast shadow" set to true:
but I couldn't see any shadow on the plane beneath it.
Things I tried:
using code to add the grounding shadow component, didn't work
re-used the IBL from the helloworld project to get some lighting for the objects. Although the IBL worked, I still couldn't see the shadow
tried adding a DirectionalLight but got an error saying that directional lights are not supported in VisionOS (despite the docs saying the opposite)
A related question on lighting: I can see that the simulator definitely applies some scene lighting to objects. But it doesn't seem to do it perfectly. For example in the above screenshot I placed the objects under a transparent ceiling which is supposed to get a lot of lights. But everything is still quite dark.