Sun Light Leak Artifacts

Hello All,

I’m currently working on a project, everything is going well except I’m experiencing issues with light entering the room, and artifacting. Basically the sun enters through the windows, but causes these odd dots around the sunbeam area. At first i thought it was light seeping through some seams, (ie there the window planes weren’t aligning with the frame exactly) so i made it so the windows are intersecting the geometry, so there should be no leaking light. This has also happened on another project i’m working on.

Anyone experiencing something similar or know a solution?

Many Thanks

Hi Dark_Jubei,

Is this fully closed geometry that the light is leaking through or is it single sided? Not specifically the glass pane, but the other mesh that represents the wall as well.

If it’s single sided you can try selecting the mesh and setting the option ‘Shadow Two Sided’.

Also, you didn’t mention above it you were using Static/Stationary/Movable lighting. Looks like maybe Static or Stationary lighting since you’ve got some lighting bounce in there, but just wanted to confirm. If you’re using static/stationary lighting, is this a single mesh or pieces that have been snapped together? And what is the Lightmap resolution you’re using for this mesh? Maybe try using a higher value for the wall where the light/shadow is being casts.

Let me know.

Tim

Hey Tim!

To answer your Questions I’m using 1024 lightmap resolution on both pieces of geometry, static lighting only in the scene. The window frame isn’t capped on one side, so yeah its single sided, but the material is double sided. What you’ve suggested could possibly be the case, ill bake tonight to check, out of interest, is “Double Sided Geometry” the same as “Shadow Two Sided” as you’ve mentioned? or could it be “Use two sided lighting?”

Thanks

There is two options.

Use Two Sided Lighting is for any static baked lighting.

Shadow Two Sided is for dynamic lighting.

So with your setup of using Static/Stationary lighting you would most likely only need to use the first one.

Let me know what you find.

Tim, thanks for your help. Even though it seems like your answer would be the fix for the problem, when i tried it i still got the same results. I had a play around and found the answer, so I’m posting it here in case anyone else experiences the same issue.

This was actually a really simple one, i simply selected the window and turned off cast shadow. That fixed the dotted artifacting i was experiencing.

With “Cast Shadows” Selected:

With “Cast Shadows” unselected:

Hope this helps.