---
title: GLKReflectionMapEffect
framework: GLKit
role: symbol
role_heading: Class
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: glkit/glkreflectionmapeffect
---

# GLKReflectionMapEffect

A lighting and shading system that supports reflection mapping for use in shader-based OpenGL rendering.

## Declaration

```swift
class GLKReflectionMapEffect
```

## Overview

Overview In addition to any of the properties provided by the GLKBaseEffect class, your application must also configure the properties on the reflection map. The default value of the textureOrder property provided by the base effect is modified to include the reflection map as a final texturing stage; your application can modify the value of that property to change the order in which texturing occurs. The reflection map effect is calculated in accordance to section 2.11.4 of the OpenGL 2.1 specification GL_REFLECTION_MAP glTexGen() mode. It requires a cube map texture to define the enclosing envelope from which to reflection map the scene.

## Topics

### Preparing the Reflection Effect

- [prepareToDraw()](glkit/glkreflectionmapeffect/preparetodraw().md)

### Effect Properties

- [textureCubeMap](glkit/glkreflectionmapeffect/texturecubemap.md)
- [matrix](glkit/glkreflectionmapeffect/matrix.md)

## Relationships

### Inherits From

- [GLKBaseEffect](glkit/glkbaseeffect.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [GLKNamedEffect](glkit/glknamedeffect.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Shader-Based Rendering Effects

- [GLKNamedEffect](glkit/glknamedeffect.md)
- [GLKBaseEffect](glkit/glkbaseeffect.md)
- [GLKSkyboxEffect](glkit/glkskyboxeffect.md)
