
216 II Lighting and Shading
Figure 6.4. Left: Original normals. Right: Normals by the time the wire goes sub-pixel,
assuming the viewer is to the right of the wire.
If sticking to Half Lambert is not enough, there are a few different approaches
for dealing with this. We have tried a couple of methods that both work rela-
tively well and can also be combined. Both involve fading over from our regular
lighting model into something uniformly colored over some distance before reach-
ing pixel size. The first method is simply computing our lighting as usual, then
computing the Half Lambert as well, and then fading between these two. In our
test scene a go