Closed GoogleCodeExporter closed 9 years ago
I've just tracked down the issue and propose a fix for this:
It seems the method LightMaps.getFlatMapArray() doesn't actually draw the
gradient in
the last pixel of the 1D lookup table.
Fix:
change this line:
s.graphics.drawRect(0,0,255,1);
into:
s.graphics.drawRect(0,0,256,1);
Also, it seems this method has extraneous "specularLevel" argument which isn't
used...
Hth!
Original comment by toxmeister
on 7 Oct 2008 at 10:33
Fixed
Original comment by r.hauw...@gmail.com
on 17 Nov 2008 at 12:08
Original comment by r.hauw...@gmail.com
on 17 Nov 2008 at 12:14
Original issue reported on code.google.com by
ross.scl...@gmail.com
on 22 Sep 2008 at 3:14