Xonotic Forums
Model lightmapping issue - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10)
+--- Forum: Xonotic - Editing and Concept Art (https://forums.xonotic.org/forumdisplay.php?fid=11)
+--- Thread: Model lightmapping issue (/showthread.php?tid=1898)

Model lightmapping issue - Lord Canistra - 06-11-2011

I've ran into a certain weird problem with lightmaps on my props. Whenever I turn them by non-90-degree angle (5 degress, 15, 60, etc.), pitch-black areas appear on those as shown on the screenshot. The leftmost and rightmost panels are turned by 0 and 90 degrees, while others were rotated by arbitrary angles. Even a puny angle of 1 degree gives this effect. I don't know if some bug in q3map2 is the reason, or there's something wrong with my props. I tried changing many shader parameters, using raw textures, compiling map with different configurations yet it all was in vain. Does anyone have an idea about the cause of this?
Here's the prop itself - http://ompldr.org/vOTB2ZA/hexpanel.zip

RE: Model lightmapping issue - Lord Canistra - 06-13-2011

Oh well. Seems like q3map2 does it wrong when mesh is rotated by an arbitrary angle and there are two or more close standing parallel planes - they begin to project pitch-black shadows on each other. I deleted back sides of those panels and everything works fine now.