Hi all,
I’m playing with coding a simple lightmap generator program using ray casting, by now I have harcoded the UV texture coordinates of the objects which I want to apply the generated lightmap. But now I want to improve it, and generate those coordinates by code.
I have been searching for this issue in the web and the only thing that I have found, is that a possible solution could be to use “Planar texture mapping”. But I have not idea of what it is.
Have anybody an idea of what method could I use in order to generate the lightmap UV coordinates for the different objects of my scene??
Thanks in advance,
Alberto