Hi, yes, fps at the very beginning of 60, and then rolls down, but the cpu loads up to 140%, I added some more rendering options, but the consumption of the cpu has not fallen by much. I also tried to do it without using custom material, using painted PhysicallyBasedMaterial(), but Frame also continues to slow down. What other problem do you think may be?
arView.renderOptions.insert(.disableMotionBlur)
arView.renderOptions.insert(.disableHDR)
arView.renderOptions.insert(.disableDepthOfField)
arView.renderOptions.insert(.disableDepthOfField)
arView.renderOptions.insert(.disableAREnvironmentLighting)
arView.renderOptions.insert(.disableAREnvironmentLighting)
arView.renderOptions.insert(.disableGroundingShadows)
arView.renderOptions.insert(.disableCameraGrain)
Link to video
https://www.dropbox.com/s/tiwi6vqwxkopvso/RPReplay_Final1637903616.MP4?dl=0
As if something was happening to ARFrame, some delay before the next frame. 🥵🥵🥵🥵🥵
Post
Replies
Boosts
Views
Activity
Thank u! It is working for me 🥲
Have a good Day!
Link to Demo project with video material.
https://www.dropbox.com/sh/2hievrbkaxuqimy/AABxxQWXwWFpGusJKmedZ1qla?dl=0
Since my ci.metallib shader is working on a project with static image, but in but in real time no.
Hello! Thank you for giving me the answer!
I changed the Build Settings how was in WWDC2020 session https://developer.apple.com/videos/play/wwdc2020/10021/ ,and made Build Rules flags "-cikernel" and "-fcikernel"
With my attempts to show a filter from Kernel "ci.metallib" also how .metal i constantly comes to a black screen in real time preview, then I made metal MTKView, camera began to be displayed in real time, but the filter disappeared completely.