Difference between revisions of "Hpl3:Tools:maineditors:common:light editmode"
Jump to navigation
Jump to search
m |
m |
||
Line 19: | Line 19: | ||
##Clicking and holding the mouse button down, drag the endpoint to define the direction on the grid plane the SpotLight will be pointing to, and after releasing, define the angle from the grid plane. Clicking again when ready will place the SpotLight.[[File:spotlight_creation.png]] | ##Clicking and holding the mouse button down, drag the endpoint to define the direction on the grid plane the SpotLight will be pointing to, and after releasing, define the angle from the grid plane. Clicking again when ready will place the SpotLight.[[File:spotlight_creation.png]] | ||
− | More on Light objects [[HPL2/ | + | More on Light objects [[HPL2/Lights|here]]. |
Latest revision as of 19:19, 15 August 2020
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:
- 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.
- 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. There are two ways of creating Spot Lights:
- By just clicking on the grid, a new spot light will be created in the position you clicked.
- Clicking and holding the mouse button down, drag the endpoint to define the direction on the grid plane the SpotLight will be pointing to, and after releasing, define the angle from the grid plane. Clicking again when ready will place the SpotLight.
More on Light objects here.