Yeah this also something that hinders me migrating to RealityView, since using ARView (the RealityView UIKit equivalent) offers this options and works well.
Maybe try using ARView for now? Or you could try accessing the backing ARView (assuming there is one) using something like https://github.com/FiveSheepCo/SwiftUI-Inspect – not pretty though.
Hi, thanks for you reply! So what I wanna achieve is to DISABLE tonemapping for the CustomMaterial when lightingModel is set to unlit, since it appears to be enabled by default and I couldn’t find a way to explicitly set a preference. Basically the texture I am passing in (ARKit Camera Feed) should be rendered exactly as-is, without any adjustments.
Lol that's funky. But yeah I fixed it in a similar way. I tried a new Codable wrapper for CLLocationCoordinate2D instead and worked with that. Thanks for your reply!
If you add it in Xcode though, it is automatically added for visionOS as well. Is there a way to set entitlements plarform specific? Because I would like to keep the entitlement on iOS but simultaneously my target also supports visionOS.
Yeah this also something that hinders me migrating to RealityView, since using ARView (the RealityView UIKit equivalent) offers this options and works well.
Maybe try using ARView for now? Or you could try accessing the backing ARView (assuming there is one) using something like https://github.com/FiveSheepCo/SwiftUI-Inspect – not pretty though.
Hi, thanks for you reply! So what I wanna achieve is to DISABLE tonemapping for the CustomMaterial when lightingModel is set to unlit, since it appears to be enabled by default and I couldn’t find a way to explicitly set a preference. Basically the texture I am passing in (ARKit Camera Feed) should be rendered exactly as-is, without any adjustments.
Lol that's funky. But yeah I fixed it in a similar way. I tried a new Codable wrapper for CLLocationCoordinate2D instead and worked with that. Thanks for your reply!
If you add it in Xcode though, it is automatically added for visionOS as well. Is there a way to set entitlements plarform specific? Because I would like to keep the entitlement on iOS but simultaneously my target also supports visionOS.