Hi all,
I am trying to get into archvis and i ran into a few problems, some of which i was able to solve but with very inflexible means and I’m worried I’ll attain bad wisdom when it comes to asset creation.
I made a simple house. I had weird shadowing with some walls as you can see in the image to the left. I read that I should delete faces that go up against a ceiling or floor which somewhat fixed it, but I’d rather not do that and I’ve seen some archvis projects in the market that don’t do it. I also read that I should try my best to “attach” the walls together at the mesh level to avoid such problems. It did help but I’d still rather have my workflow organized so I can edit it easily later. I also read that I should increase the resolution of the shadow maps from the details panel. This I can do without worrying too much but I also read that I shouldn’t overdo it. But how big is too big? What is the size of the shadow map if i set it to 1024? because if it’s 1k by 1k, it shouldn’t be that big but some sources say it is.
I haven’t ran into these problems obviously with ray-tracing so these are new to me.
Can someone take time to give me some guidance and hints as to how to create a house with inner walls while minimizing lighting issues?
It’s alot of geometry for a lightmap. You should make one distinct lightmap for each walls, floors, ceillings, etc. and leave it a reasonable resolution. Something like 512-1024 max.
Correct me if I’m wrong, but can’t a single mesh only have one lightmap UV channel? He would need to split his mesh into numerous separate pieces in order to do that, unless I’m missing something.
thanks for the replies everyone.
I broke my mesh down to several pieces. I originally had one asset for the walls, one for the ceiling and another for the floor.
After breaking them down, I unwrapped them manually and carefully to the best possible layout.
Bad news is I still get light-leaking and splotches as seen here:
(Most of my lightmaps are 128 and above)
I’ve also attached the FBX files of the walls with this post. I’d appreciate if someone has the time to look through them to make sure the problem is not with my asset creation process.
Here is a screenshot of the World Settings, which were inspired by this post:
@James_Gallagher, what I had in mind was to set the Light Map Coordinate Index to 0 as i’m just worried about lighting at the moment. the material is just white matte with no texture.
I went ahead and added a duplicate UV layout to all the meshes, but i still get leaking. This is one of the bathroom walls, it looks interesting but i don’t want it obviously:
So I figured something out.
I previously read that you should delete faces that will be completely black (like faces of a wall that go against the ceiling), so I made some of my walls hollow. This is supposed to help prevent the darkness from leaking to other UV islands but it also seems to have caused the light leaking problems I had.
so the piece of wisdom to take here is make your meshes closed and the UV islands padded. This is what I have so far which looks good so far:
I got some splotchiness which was fixed when i raised the resolution of the light maps.
Also, the overall light maps were improved when i set NumHemisphereSamplesScale=100 in the BaseLightmap.ini file (which resides in C:\Program Files\Epic Games\4.7\Engine\Config). I have no idea why such an important setting is hidden in a .ini file. The file says that artists-oriented settings are supposed to be in the editor, but so far I haven’t seen anybody on this forum refer to this particular parameter from the editor.
I often detach each face of a wall an assign a lightmap according to the importance of the surface in the scene. What is visible is going to be on a clean uv island with a decent resolution, the rest is going in another lightmap with a very low res (cause we won’t see those faces anyway)