Hi,
I have trouble mixing Core Image CIKernel with Surface Shader/Geometry Modifier in the same project. I am getting the following error in my surface shader when I compile with -fcikernel option.
RealityFoundation.CustomMaterialError.geometryModifierFunctionNotFound
To simulate the problem:
Compile Sample from Apple Altering RealityKit Rendering with Shader Functions https://developer.apple.com/documentation/realitykit/altering_realitykit_rendering_with_shader_functions
Set Metal Compiler - Build Options Other Metal Compiler Flags -fcikernel
Metal Linker - Build Options Other Metal Linker Flags -fcikernel
RealityView->SetupRobots
RealityFoundation.CustomMaterialError.geometryModifierFunctionNotFound
Any suggestions will be great. Thank you in advance.