Ru/Skybox lighting

From Valve Developer Community
< Ru
Revision as of 01:20, 15 August 2015 by Alvagor (talk | contribs)
Jump to navigation Jump to search

Template:Otherlang2

Toolsskybox.gif

Освещение неба выводится на карту через браш, покрытый текстурой toolsskybox.

  • Его основные свойства контролируются тремя сущностями, используемыми в комбинации: light_environment определяет (a) цвет и интенсивность диффузии света и (b) направление, цвет и интенсивность прямых солнечных лучей. Он также создает (сбоит, неконфигурируемо) динамические тени, которые могут перекрываться/контролироваться сущностью shadow_control. В небе помещается спрайт env_sun, который изображает положение Солнца. To make sense of it all, just make sure you have only one of each of these entities in your map, and that the Pitch and Yaw <angles> are set the same for all three of them. (Pitch is equivalent to the Sun's Angle of Elevation from the ground, and Yaw is its Compass Bearing.)
  • The Sky List article suggests some settings for some of Valve's skyboxes. The worldspawn Entity defines which skybox to use. Note also that env_fog_controller settings will look wrong if they don't correspond to the particular skybox in use.