Original Post
Ok. I want to make lightmaps in my engine. How do I make uv coords for lightmaps. Is planar mapping sufficient for all cases or is there any better way. In my editor you put some objects and lights into scene and after finishing you can make lightmaps for all objects in world. So I need to know what is the best method to get UV coords of each vertex for lightmap.