Posts

Post not yet marked as solved
0 Replies
294 Views
I'm trying to add dynamic shadows by adding a directional light to the scene. I implemented a POC based on the latest documentation. Basically, the way shadows are being rendered in RealityKit is by a adding a ModelEntity into an AnchorEntity with a target of type planes. The result is that I'm getting shadows that are terribly flickering. I'd add that in SceneKit, there are many more shadow-related properties that let you tweak the look and feel of the shadows, and it's not hard to get a decent shadow there. I'm wondering if having accurate dynamic shadows is possible in RealityKit and if not, if there's a plan to fix it in the next RealityKit version.
Posted
by nativ18.
Last updated
.
Post not yet marked as solved
1 Replies
668 Views
Creating & loading a plain new AR project that contains only an ARView with no entity added results in about 330 MB of dirty memory(was checked using VM Tracker in instruments). This can be easily observed by adding the following line: arView.debugOptions = [.showStatistics] It's really high and I'm wondering if others experienced this as well. FYI, Unity has initial dirty memory of "only" 150 MB, which is also high. SceneKit has initial dirty memory of 80 MB.
Posted
by nativ18.
Last updated
.