Recessed Lights
In this tutorial you'll learn how to make a wall light that is seen in the Portal test chambers.
Contents
Steps
Step 1
Create a room for the light to be in. For the sake of this tutorial, we will use a 384×384×256 room with walls 16 units thick. Ensure the roof is touching the walls only by its edges.
Step 2
Texture the edges of the roof with the same texture you used for your roof.
Step 3
Shrink the roof by 4 on each end. In this case, from 384×384 to 376×376.
Step 4
Create a 4×16 block with the invisible texture and put it right beside your newly shrunk roof. They should fit so there are no leaks.
Step 5
Copy the invisible blocks and re-texture them with Nodraw. Move them higher above the invisible blocks so you can easily perform step 6.
Step 6
Texture the bottom of the 4×16 Nodraw blocks with light_recessedcool002. Rotate the recessed texture with the face edit tool so it is parallel with the block, with the lighter side of the gradient facing the inside of the room.
Step 7
Move the Nodraw blocks to sit on top of the invisible blocks.
Step 8
Select all the top walls and pull them up so they enclose the invisible blocks.
Step 9
Add an overlay with the texture decals/overlay_light_gradient, and change the VStart/VEnd to .99 instead of 1.
Step 10
Resize to fit, and move inside of the hole.
Step 11
Repeat for every wall.
Step 12
Compile your map and ensure there are no leaks.