I am setting my 3d model’s cull mode and double sided properties directly in my usdz file in my Scene graph. However, once it renders live real time, these properties are automatically reset to default. Is there a way I can access these properties programmatically through BodyEntity to ensure they're set when I render the character?
There is a new enum in RealityKit 2.0 for iOS 15 called FaceCulling:
enum MaterialParameterTypes.FaceCulling
with front
, back
and none
cases. You can use it in PhysicallyBasedMaterial or in SimpleMaterial.
There's still no doubleSided
property in RealityKit, like the popular property in SceneKit.