HPL2/Tools/Light Editmode

From Frictional Wiki
< HPL2‎ | Tools
Revision as of 19:15, 15 August 2020 by Mudbill (talk | contribs) (Mudbill moved page HPL2/Tools/Level Editor/Light Editmode to HPL2/Tools/Light Editmode without leaving a redirect)
Jump to navigation Jump to search

Light EditMode

With this mode, one can set up the lighting for a level. Just place some lights in the map and see how it gets all lighted up. There are three types of lights the user can create in a map. These are as follows:

  • Box light: this type of light is most approximate to ambient lighting in a 3D scene, only difference is this one only affects the part of the world that lies inside its boundaries. There are two ways of creating a Box light:
    1. By just clicking and releasing, which will create a 1x1x1 sized box.
    2. By clicking, holding while dragging, and releasing to set the base of the box, and then dragging and clicking again to set the height.
  (screens here)
  • Point light: this might be the type you will get to use most in a level. It is a regular point light, like the ones you could set in a 3D modeling program, meaning it will light up all stuff lying inside its radius. Again, there are two ways of creating Point lights.
    1. By just clicking and releasing, which will create a point light with unit radius.
    2. By clicking, holding while dragging, and releasing to set the radius of the point light.
  (screens here)
  • Spot light: again, you might already know this type of light from 3D modellers. It tries to simulate a focused light, and so, it will only light up stuff that lies in the direction it faces, and inside its radius. They are also the only lights that can make objects cast shadows. To create spot lights, just click on the grid and a new spot light will pop up in the position you clicked.
  (screens here)

More on Light objects here.