- To initialize the engine, we must use this function:
tl_init(smooth_mask, shadow_mask, width, height, quality);
In this way, we have created the surfaces of the engine.
The surfaces sizes are equal to width and height, so rendered area has this sizes.
- Now, set the color of the ambient light:
tl_light_ambient(color);
dark colors (c_black, c_gray, c_navy) makes the surface more shadowed than lighting colors (c_white, c_yellow)