IKLITE.EXE - a version of LIGHT utility for Quake levels by Iikka Kernen.

Right, this is a modified Light, that I made for my own use. It's based on
code included in QUBE.ZIP by Sean Werkema; and Sean's code is based on
code by John Carmack. I don't include the source code here, since the
makefile produces Qbsp and Vis as well, and I haven't modified those, and
you can get the source from QUBE.ZIP except for my small modifications.

Of course, I give no technical support for this program. It works on my
machine, fine. I don't know or care about its performance in any other
operating systems than real DOS 6.22. All the copyrights and stuff about
QUBE.ZIP and Quake utils in general are in the readme.txt (that is taken
from the said QUBE.ZIP).

Here is how I have modified this program:
- Now you can select from four different attenuation formulas, which
  makes it easier to make good lighting in outdoor scenes, and rooms
  in general can be lit by one light source without getting the ugly
  fullbright look. These also slow down the program.
- Different attenuations are selected by setting the "angle" field of
  the light entity. I can't remember if I disabled this in spotlights
  or not. Don't email me if spotlights don't work, I never use them.
- No angle set, or angle 0 is default linear attenuation. This uses
  exactly the default code, so your old levels will look just the same.
- Angle 1 sets the (1/x^2) attenuation, that gives the light theoretically
  unlimited range, but the light intensity diminishes very quickly. This
  is how light works in real life, but not always too useful.
- Angle 2 makes the light keep as bright on any distance. These days, I
  always use this for an outdoor lighting; I make a "grid" of lights with
  light value of about 20-40 on the sky, with their total light level at
  what I want it be on the ground (like, 200 for daylight). This makes
  smooth shadows, and overall a feeling of outdoor lighting with no
  direct sunlight. (As there's no sun on the sky...)
- Angle 3 uses (1/x) formula, it looks pretty realistic, and works well
  for indoor lighting... You can make a lantern of light level 200, and
  it gives good light to all the room.

That's it. Don't send me emails about all this, except if you want to give
me money. :)

Iikka Kernen
ikeranen@raita.oulu.fi
