Half-Life Re-imagined competition results on their way...
Check out Skewing textures in Hammer, our newest tutorial!
Say hello to w1Lo, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Feeling Blue

What's your favourite shade of blue?

Azure

10

Cobalt

23

Turquoise

6

Cyan

8

Royal

5

Teal

3

Onliners

23 secs

Jessie

38 secs

Windawz

2 mins

Solokiller

25 mins

Dr. Orange

50 mins

rufee

1 hours

NineTnine

2 hours

Kachito

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

'Glowing' Texture Lights

By Jeff 'Yesukai' Pritchard

Ugly Ok, when you make a texture light in a level, often the surface has just a small spot that is the light, the rest of the texture is the surrounding fixture. So when you have your texture light in-game, the entire texture is lit up, not just the spot that looks like a light. This looks ugly in a dark room.
To fix this, we need a texture of the lights cut out of the normal texture, as well as the original. The cut-out lights should be surrounded with pure black. You can do this by loading the texture in Wally and, using a black color, color in around the light. Save your cut-out version as another texture.
Original:
Cut-Out:

 
Now, make your texture light using your original texture. Then, right over that brush, make a 1 unit thick brush covering the entire surface. This brush should be covered in the NULL texture, except the face that is facing away from the light. IE: the new surface seen by the player, which should be covered with your cut-out texture.

 
 
To make the black not show up (and remove the HOM from the NULL texture), make this thin brush a func_illusionary, and set the render mode to "additive" and the render amount to "255". This makes the black part of the texture invisible.

Now, all you have to do is add the cut-out texture to your lights.rad to make a texture light, and voila. The light appears to be only full lit were the light should be, not the entire fixture. The fruits of your labor:

good