2D must consider brightmaps.

This commit is contained in:
Christoph Oelckers 2018-04-27 08:59:59 +02:00
parent fc0d673935
commit 286846a8ec

View file

@ -504,7 +504,7 @@ void main()
case 4: // simple 2D (reuses a uniform for the special colormap for the color overlay.) case 4: // simple 2D (reuses a uniform for the special colormap for the color overlay.)
{ {
frag = frag * vColor; frag = frag * ProcessLight(vColor);
frag.rgb = frag.rgb + uFixedColormapStart.rgb; frag.rgb = frag.rgb + uFixedColormapStart.rgb;
break; break;
} }