I’m making a game where the lightmaps can be turned off by the player among other things. To do this I have moved the lightmaps out of the directory with the model and placed them in a folder called “lmap”.
I have created test code where the same lightmap is copied and is both in the folder with the model so that is loaded by default and it also has another identical copy in the “lmap” folder.
When the space bar is pressed the program replaces the original brush with one created in blitz from the diffuse map and the other lightmap. Rather than, as I hoped, be an identical copy the lightmap is no longer aligned properly.
Can anyone help?
I have created test code where the same lightmap is copied and is both in the folder with the model so that is loaded by default and it also has another identical copy in the “lmap” folder.
When the space bar is pressed the program replaces the original brush with one created in blitz from the diffuse map and the other lightmap. Rather than, as I hoped, be an identical copy the lightmap is no longer aligned properly.
Can anyone help?