<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/TextureResource/Format/NormalEncoding/xy",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation15TextureResourceC6FormatV14NormalEncodingO2xyyA2GmF"
  },
  "title" : "TextureResource.Format.NormalEncoding.xy"
}
-->

# TextureResource.Format.NormalEncoding.xy

A normal map with the X and Y components of a surface normal in the tangent space of the surface
that RealityKit encodes in the red and green channels of a texture.

```
case xy
```

## Discussion

Each component value is between `0.0` and `1.0`.

---

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)