GLKReflectionMapEffect class extends the base effect to add an additional texturing stage that performs reflection mapping.
- iOS 5.0+
- macOS 10.8+
- tvOS 5.0+
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.