Day and night?

BlitzPlus Forums/BlitzPlus Programming/Day and night?

Hmm, any math I might use to dark/lighten pixels?

Thanks.

EDIT: I got basic lighting, now time to optimize :D

EDIT EDIT: I managed to create (I think) a super fast function for this which can do *calculates* 615670 pixels in about 100 ms :o