<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/CustomMaterial/faceCulling-swift.property",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation14CustomMaterialV11faceCullingAA0D14ParameterTypesV04FaceF0Ovp"
  },
  "title" : "faceCulling"
}
-->

# faceCulling

A process in which the system specifies polygons to remove before
rendering a mesh using this material.

```
var faceCulling: CustomMaterial.FaceCulling { get set }
```

## Discussion

To improve performance, RealityKit culls polygons, or *faces*, that it
determines won’t be visible. Discarding faces that aren’t part of the
final render eliminates the need to do any calculations for those
faces.

RealityKit recognizes when a face aims toward the camera (a *front
face*) or away from the camera (a *back face*). This value controls the
type of faces RealityKit culls.

The default for this value is
[`MaterialParameterTypes.FaceCulling.back`](/documentation/RealityKit/MaterialParameterTypes/FaceCulling/back), which means RealityKit
removes faces that point away from the camera. Because back faces point
away from the camera and are usually obscured by front-facing polygons,
the user typically won’t see them. As a result, in most cases, the
default setting is desirable because it culls polygons that don’t
contribute to the rendered scene.

You can change the culling behavior to cull front faces instead or to
turn off face culling altogether, but be aware that turning off face
culling results in less efficient rendering and may negatively impact
your app’s frame rate.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)