Post

Replies

Boosts

Views

Activity

RealityKit dynamic shadows are flickering
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.
0
0
571
Mar ’24
Why does RealityKit has such an high dirty memory footprint?
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.
1
0
760
Nov ’20