Doodle 10

2011-05-11_Doodle_10.png

Posted: 2011-05-11


Doodle 9

2011-04-03_Doodle_09.png

Posted: 2011-04-03


Sidescroller Lighting

20101015_Sidescroller_Lighting.png

Note: Posted 2017. Article date is original screenshot date.

Lighting in the 2D Lily engine. It was achieved using the fixed function pipeline, and used some glCopyTexImage2D abuse to achieve a very primitive form of light buffering.

In this screenshot it's shown using a subtractive system instead of multiplying the light values with the pixel color values. The result had colors that looked much less washed out, but was more sensitive to dark areas.

The fade in/fade out effects used in the game took advantage of these systems and would do a straight addition or subtraction of light value, clamped to pure white or black. This resulted in fades where some colors would reach pure black or white before others. It gave it a retro look, mimicking older games that would do fades by just adding a linear value to each palette entry.

Posted: 2010-10-15


0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 [ 85 ] 86 87 88 89 90 91 92

Previous | Next