device.supportsRaytracing can be used to check if the device supports Raytracing. It seems most of the devices support Raytracing. However, only M3 and iPhone 15 Pro supports hardware Raytracing. How do I check programmatically if a device supports hardware Raytracing? Thank you.
Post
Replies
Boosts
Views
Activity
I have followed the tutorial below to build a Vision Pro app.
https://developer.apple.com/tutorials/develop-in-swift/create-3d-models-in-the-shared-space
When I run the app in Vision Pro Simulator, the models are much darker than the sample in the last picture of the above link.
How to fix the problem? Do I need to create lights to illuminate the model? It was not mentioned in the tutorial.
I tried to use the application icon from sample project https://developer.apple.com/documentation/visionos/diorama, but the 3 layers of the app icon are not separated when I hover on the icon in the Vision Pro simulator. Could you please advise how to fix the problem? I am using the latest Xcode Version 15.4 (15F31d). Thank you.
How to create fire effect in Reality Composer Pro? Should I use particle emitter?
I have no clue at all. Any suggestions are welcome. Thank you.