Graphics Reference
In-Depth Information
Figure 6.2. Expanded wire. Note that the wire is now free from gaps and aliasing, but
appears unnaturally thick in the distance.
Figure 6.3. Final wire. Wire now appears natural and alias free.
can go from pointing straight up to straight down over the course of a single pixel,
potentially resulting in severe aliasing from the lighting. The simplest approach
to deal with this problem is to choose a soft lighting model that results in a min-
imum amount of aliasing, such as Half Lambert [Valve 08]. For many wires this
could be good enough as it blends fairly well into an environment otherwise lit
by more physically correct models. However, even with this simple model (and
even more so for more complex ones), it is crucial to enable centroid sampling
on the interpolators. The error introduced from sampling outside of the wire is
simply far too great.
Search WWH ::




Custom Search