-
- //add some light. Problem: can be abused as lightsource.
- context.push_target();
- context.set_target(DrawingContext::LIGHTMAP);
- context.draw_filled_rect( Vector( 0 ,0 ), Vector( SCREEN_WIDTH, height), Color( 1, 1, 1) , layer );
- context.pop_target();
-