Changing the drawing order makes the shadow more realistic:
Code: Select all
CreateGear(83, 74, 20, 6, -1, RGBA(192, 192, 192, 255))
CreateGear(-10, 518, 40, 5, 1, RGBA(170, 169, 173, 255))
CreateGear(215, 240, 15, 2, 1, RGBA(176, 196, 222, 255))
CreateGear(485, 220, 30, 1, -1, RGBA(205, 127, 50, 255))
CreateGear(234, 372, 7, 4, -1, RGBA(184, 115, 51, 255))
CreateGear(746, 414, 24, 3, 1, RGBA(205, 127, 50, 255))
CreateGear(705, 93, 12, 7, 1, RGBA(230, 232, 250, 255))
1. Draw all shadows first
2. Draw the gears now