lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Also, in general colors are are clamped and not modulo'd, as adding a bit to a bright color could result in a dark color with modulo.


On Mon, May 20, 2013 at 1:39 PM, Ashwin Hirschi <lua-l@reflexis.com> wrote:

Perhaps you should also consider changing 255 into 256 for the modulo operation...

Ashwin.