This article's documentation is for Source 2. Click here for more information.

sky_camera

From Valve Developer Community
Revision as of 06:04, 9 February 2025 by Kr0tchet (talk | contribs) (Created page with "{{LanguageBar}} {{Tabs|source=1|source2=1|main=source|sky_camera}} {{Confirm|Confirm if some of the Source 1 stuff works the same or differently in Source 2.}} {{this is a|point entity|name=sky_camera|engine=Source 2|sprite=1}} It is used to mark the position of the map's origin inside the 3D Skybox. As your position changes relative to the maps origin it will be scaled and applied relative to the <code>sky_camera</code>. When the map is compiled, the areas containi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)Translate (Translate)
Confirm:Confirm if some of the Source 1 stuff works the same or differently in Source 2.
Sky camera.png

sky_camera is a point entity available in all Source 2 Source 2 games. It is used to mark the position of the map's origin inside the 3D Skybox. As your position changes relative to the maps origin it will be scaled and applied relative to the sky_camera.

When the map is compiled, the areas containing sky_camera(s) are skipped during vis calculations. This can be overridden by -forceskyvis on resourcecompiler[confirm].

By default, only one sky_camera may be active at a time and it cannot move.