A bit of an overhaul of the fog code.
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 17 Feb 2004 21:03:03 +0000 (21:03 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 17 Feb 2004 21:03:03 +0000 (21:03 +0000)
commit09da0b8e6621a831e3eeb9381430f2bed18a22ad
treee7e307c3a5ddd773b469cf17d0331822388b466e
parent9a389d4bdb8026063034767e1599be975cb4e2f2
A bit of an overhaul of the fog code.
glFogCoord didn't always work reliably.
ARB fragment program fog options work now.
Per-fragment fog computations are now perspective corrected.
src/mesa/swrast/s_context.c
src/mesa/swrast/s_context.h
src/mesa/swrast/s_fog.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_triangle.c
src/mesa/swrast/s_tritemp.h
src/mesa/tnl/t_context.c
src/mesa/tnl/t_context.h
src/mesa/tnl/t_vb_fog.c
src/mesa/tnl/tnl.h