Colors and Lighting – the Science Behind

A picture is worth 1,000 words, so here are quite a few pictures to show what difference lighting can do for your level. I won’t be showing you how to do lighting in this particular article, but by the end of it you should have a better understanding of lighting in the Source engine and how it works. By the way, if you’re getting this problem, it’s nothing to do with the lighting- it’s to do with the cubemaps in your level. Look up my tutorial on that instead. If you choose the ‘3D Lightmap Grid View’ in Hammer, your map will turn into a load of squares. When you compile your map, it calculates how bright each of these squares is.

light and colors

Obviously, the more squares there are,the longer it takes to compile your map… and the larger your map’s file size will be.You can change the light map scale in Hammer. The number shown is the number of units across each square is. Smaller values mean more detailed shadows, but your map’s file size will greatly increase, and it can cause strange artifacts and problems, particularly if done across a large area. Before compiling your map you have a choice of which setting to set RAD to. If you set it to ‘No’, your map will have no lighting. If you set it to ‘Fast’, it will have ‘bad lighting’ and if you set it to ‘Normal’, it will have normal lighting.

Personally, I can’t see much of a difference between fast and normal, and I’ve done a couple of tests.here are my results. However, the general consensus is that normal is better, so I suggest you just put up with the wait and get some one to make you a sandwich. Light go round corners, but it can bounce off surfaces. Here is an extreme example of a brightly lit orange wall making the shaded wall glow orange. Newer games can do this in real time, but for Source, it’s all calculated when compiling your map.

Because Source calculates lighting when you compile your map, it doesn’t need to do so in-game, leading to higher frame rates than in games where lighting is calculated in real-time. However, because of this you can’t attach (or parent) lights to moving objects in Hammer, and the number of flashing or toggle able lights you can have in a particular areas is limited. There are certain lights that are dynamic to a degree, but they don’t tend to look that good and may lead to problems. Here you can see examples of point_spotlight and env_projected texture entities.

Obviously the best way to learn is to do it yourself. However, I’m going to give you some advice. Putting loads of different colored lights in a room ends up looking horrible and messy, and some times, the fewer lights there are, the better. The aim of lighting isn’t to light everything up like a Christmas tree- it’s to make maps look better more realistic by having darker areas. It’s also quite artistic. The general idea is that certain colors look nice together. For some examples,try watching films like the latest Harry Potters. Compare them to the older ones and you’ll find that the lighting is more uniform, with entire scenes being in one or two main colors. This can be used to make things look more stylized and professional.

Color correction is a large topic and there are ways of changing the lighting in your level much like you would when editing a frag video in a video editing program. However, for now, I’m just going to say that you should try and pick a suitable color scheme when selecting your textures. Green is sickly, red is for anger or alert. You can also contrast colors.

Hopefully this article has helped you to question colors, study shadows and has given you a justification for watching Harry Potter. Don’t forget to point out every interesting shadow you see to your friends and how real life could look better if everything was yellow. Your friends will really thank you for it later.

Amazing Kitchen Lighting Fast and Easy

Make your kitchen glow with easy-to-install under cabinet lighting. It’s a nice accent to your counters and cabinets, and helps with everyday kitchen tasks. First, pick your lights. Plug ins are easy to install, all you need is a wall outlet. Hard wired systems should be installed by professionals. Types of plug in lights include pucks, strips, tape, and rope. Puck lights give off scalloped pockets of light. Space them about 8 to 12 inches apart for more even lighting. Strips emit flooded light, just choose fixtures to match the length of your cabinets.

Rope and tape lights have a nice, even illumination—they’re great for large areas like the top of your cabinets or at the bottom near the toe kick. You can pick light colors too: warm colors work well for ambient light and cool colors are best for task lighting. Buy fixtures from the same product family to ensure color consistency. And make sure your cabinet faces will hide the lights. A quick measurement is all you need to check. We’re installing puck lights but other types of installations are similar.

Kitchen Ligthing

Begin by setting the lights, wires, and power hub in place on the countertop to check the layout. It’s best to position the lights near the front of the cabinet, and it’s important to make sure the cables will reach the outlet. When it all looks good, twist off the light and lens, hold the mounting cap in place, and mark the holes with a pencil.Drill a shallow starter hole, then reposition the cap, and secure with screws. If you’re going to recess the lights—like in the top of cabinets—drill the holes,run the wiring, and secure with screws. Next attach the lights—twist and lock. Secure the power control, and power hub with screws. Route the wires to the power hub and plug them in.

You might need to drill through the cabinets to run the wires. Use cord clips to secure them. Tuck extra wire in the space between cabinets. Plug in the power and turn on.If you like the look of LED strips, they install the same way—attach with screws and route the jumper cables to link the lights together. Plug them in, and that’s it.Rope lights are great for ambient lighting. Simply fasten with the included clips, and plug in. Tape lights work the same way, except all you need to do is remove the adhesive backing and press onto the cabinet. Some even come with a remote. For small spaces, try battery-powered lights. Just peel and stick, then press the switch.Whether it’s for task or décor, your kitchen will shine with under cabinet lighting.