Camera texture
From DoomWiki.org
| This article or section is a stub. Please help the Doom Wiki by adding to it. |
A camera texture is an advanced feature offered by some source ports in which the view from a specific camera is projected on a surface, be it a wall or a ceiling. They are similar to the security cameras used in Duke Nukem 3D.
Camera textures can be quite resource-intensive, especially if multiple ones are involved, or if there is some recursion going on.
Doom 64 also uses camera textures in some of its levels, including MAP01: Staging Area.
Creating a camera[edit]
In ZDoom and its derivative source ports, a camera texture is made using a SetCameraToTexture script, which will cause whatever the chosen thing sees to be drawn on the camera texture. The texture to be used must be defined using an ANIMDEFS lump. While any actor can be used as a camera, ZDoom provides a dedicated SecurityCamera thing which can pitch and rotate at a desired speed.
Source ports with cameras[edit]
- Vavoom
- ZDoom and derivatives
