Tutorials

quake2 - Colored Lights


The one thing that I think makes quake2 one of the best looking games ever is colored lighting. The difference in visual quality between the software version with no colored lights and the hardware version with colored light support is like night and day. It adds so much atmosphere to the game. id made it very easy to use colored lighting when level designing and hopefully I can give some tips on the best ways to use them to their full potential. If you know all about colored lights and using them then you might want to skip to the bottom and check out my tips. Some of them can be very useful.

How do I use colored light?

There are 2 ways you can produce colored lights.

First way is the typical light entity with the key value pair _color and a value of the RGB code of the color you want.

The second way is to have a texture radiate light. What's cool about this is whatever color the texture is that is the color the light will be. This is my preferred choice with using colored lights. Why? It gives off a much more realistic color of light. It's much easier to let the light texture radiate the color then trying to match that color with a light entity.

Why do some user made levels look like shit?

It is very easy to overuse colored light. A lot of the first user made levels I have seen have severely overused colored light. Here are a few examples of overused colored lights:


overuse of color
Blue and Red? Very unnatural light.

overuse of color #2
Lime green...yuck.

overuse of color #3
Not bad but still too much. 5 different colors in one shot.

Now if these people just let the surfaces radiate most of the light for them then they would get a much more natural look and feel. I'm not saying never use light entities i'm just saying to let the surfaces do some of the work for you.

How do I made a surface emit light?

To make a surface emit light, you must you the edit the surface properties of that brush or surface. There is a surface Property flag called light. For a better explanation on how to edit the surface properties and the light property I suggest you read my surface/content properties tutorial. It will explain everything you need to know on how to edit the surface properties.

Hints and Tips

Here are a couple of tricks I have figured out about colored light that might be able to help you:

  • Values don't have to be between 0 and 1. The can be between 0 and 255 like normal RGB colors.
  • Try using your favorite paint program and pick the color you want and write down the RGB code.
  • Most editors have a color button that allows you to select the color from a pallete. Very handy!
  • Sometimes when having a surface emit light, you will have to set the value EXTREMELY high depending on the size of the face or brush. Light values as high as 10000 are not uncommon. This is only with surface emitting light though.
  • Return to Tutorials Page...




    Copyright Crap