Shadow spots and light bleed.
Hi! I'm figuring out how to properly bake light in ue4. And right now I stumbled upon a bit of an issue. I have this small scene with nothing (so far) else than walls, a door and a window. Everything has custom made lightmaps.
After building light in ue4, I'm getting artifacts all over the place.
As you can see here, there are dark spots on the door, and light bleeding on the wall.
Some more bleeding around the window.
My lightmap density is set to optimal values.
Just to make sure, there are no lightmap errors anywhere (and you can see all the artifacts even better in Lighting only mode).
I've watched a recording of UE dev stream where they were talking about lightmaps. And they were using even smaller lightmap density than I do (they had everything in blue tones). Yet, my results are much worse than the developers had on stream, somehow.
What could I be doing wrong here?
Ok, so, I've spent an entire day googling, studying documentations and watching Unreal Engine dev streams recordings.
And here's the rundown of what I found.
The important settings, that rarely being mentioned or explained well, can be found in World Settings tab.
Static Lighting Level Scale, Indirect Lighting Quality and Indirect Lighting Smoothness. The best way to learn how to properly set them up is to watch this video I found. This is the most helpful thing ever!
HOWEVER! Now that my static lighting is all fine and dandy, I'm having another issue, and can't seem to find solution anywhere. Only couple mentions on forums, but that's about it. Here's what I mean:
As you can see, my movable objects are MUCH brighter than static ones. I've covered up the bottom of the scene, so no light should be bleeding in. All walls are covered up as well. Volume Light Sample Placement Scale is set to 0.5 with Static Lighting Level Scale of 0.1 (as you can see on the screnshot, it is pretty dense). Sky light intensity is 1.
I've tried to tweak things this way and that way... But can't seem to figure out why all the movables are glowing so much? And yeah, they are using the same material as static meshes they "attached" to.
I tried to separate the window mesh into several pieces - frame, flap, glass and sliding lock. UV'd lightmaps for each of the pieces separately. Imported them individually into the engine. Combined together into blueprint. Build the lighting... and it still happens!
Even when I crank up lightmap density so much that it appears as blinding red in Lightmap Density view, it still gives me shadow bleeding everywhere!
My next step was to remove my lightmaps and allow unreal to generate its own. Still the same bleeding in the same spots.
Please, help! I've no clue what else to do...
Could you show us your lightmap uvs please? I'm guessing that your lightmap resolution is low (you can see the distorted shadows on the wall) you have cuts in your lightmap uvs where you shouldn't have and your edges are not snapped to pixel/grid!
answered Jun 10 '18 at 04:59 PM
Please teach us...
answered Jun 10 '18 at 07:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here