Static Cubemap creation and real-time reflection
To create a reflection of the live scene requires feeding a camera view from six different angles to a Material on an object, such as a screen or water surface. The first way to do this is by creating a Cubemap (which is static) and the other is by creating a RenderToTextureCube (which works in real time). A RenderToTextureCube is an extension from the single surface 2D RenderToTexture asset, which is good for security camera footage and portals.
Getting ready
Open the scene Packt_09_ReflectProces_Start.UDK, which shows an energy chamber.
How to do it...
Open the Content Browser and switch to the Actor Classes tab. Look in the list for Uncategorized | SceneCaptureCubeMapActor (or else uncheck the Show Categories checkbox and look in the list under SceneCaptureActor | SceneCaptureCubeMapActor).
- Highlight this and right-click in the middle of the scene and choose Add SceneCaptureCubeMapActor Here. A big black ball will appear and you'll need to...