Add lighting support

Add lighting support
Add figures buffer

Add figures buffer