PLEASE RELOAD
GD Library Helpers



LIGHT SOURCE
Giving your creations a light source makes them have more demension. These light spots can be accomplished by overlaying your GD graphic over a gradient. The gradient should be the same size as your image. From my experiments these gradients should neither be black or white but shades of grey in between. These gradients both use 220,220,220, as the lightest color.


Light Ex.

Light Ex.


Here are the graphics before and after being composited on the light source.


Light Ex.

Light Ex.


Light Ex.

Light Ex.


Here's a zip of both gradients to play with. Remember it is important that your drawn images and all outputs be True Color....


http://simplysally.com/GD/lessons/exercizes/LIGHT-SRC.zip


GD BasicsHome