First very simple version of lightmapping.

There is not sharing of vertices data but it works