Basic Lighting

Tutorials for CoD:WaW Mapping

Moderator: Core Staff

Post Reply
steveuk
CJ G0D!
CJ G0D!
Posts: 1330
Joined: November 21st, 2006, 12:51 pm

Basic Lighting

Post by steveuk » November 25th, 2008, 4:11 pm

Basic Lighting

Lights

1. To create a light right click on the grid and go to "light".
2. If your light is too small or too big you can open the entity editor with "n" and type in the Key / Value of radius / ###.
Image

Primary Lights

First create a normal light as explained above. Then in the entity editor "n" click on the check box for PRIMARY_OMNI.
* For any primary light we need a null entity connected to the light to tell the game what direction to cast shadows in.

Right click on the grid and go to "info -> null". Place this under your light. Connect the light to the null entity.
* Select the light THEN select null, press "w" to connect.
Image

Light Settings

Key / Value

* _color / # # #
o # = value / 255. R G B
* radius / #
o # = units
* intensity / #
* fov_outer / #
o # = degrees
* fov_inner / #


Light Preview

To get to the Light Preview options go to "View -> Light Preview".

* Enable Light Preview - Enables or Disables the preview as a whole.
* Preview sun as well - When previewing lights, it shows worldspawn lighting too.
* Start previewing selected - Adds selected lights to continuous preview.
* Stop previewing selected - Removed selected light from continuous preview.
* Clear preview list - Resets continuous preview.
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests