------------------------------------------------------------------------ r1773 | plagman | 2011-01-17 17:34:39 -0800 (Mon, 17 Jan 2011) | 1 line Fix the lighting model so that lights don't get the modulated diffuse (defeats the purpose if they do, since you wouldn't be able to light a fully shaded room). That means the highpal lookup has to be performed twice now, once with the modulated diffuse to apply to the result and once with no modulation to make a diffuse that the lighting code can use. That means that lighting isn't 100% accurate with respect to the highpal result, but that's the best approach I could think of. ------------------------------------------------------------------------