Weird lighting bug

MegapiemanPHD

Doctorate in Deliciousness
aa
Mar 31, 2012
1,937
1,280
So this one is really odd. I've got 2 brushes next to each other that both use the same texture, wall 128x128. For some unknown reason one of the brushes is darker than the other one. This bug persists even if I put a light over in that area. Does anyone have any ideas?
 

Attachments

  • 20161006171041_1.jpg
    20161006171041_1.jpg
    76.7 KB · Views: 89

Malachite Man

L6: Sharp Member
Oct 16, 2015
345
198
upload_2016-10-7_13-37-46.png

go to camera and put lightmap gird if the lightmap grid is not the same then light cast diffrent quality of lights there you can change lightmaps grids by going to the face editor
upload_2016-10-7_13-39-45.png

And where it says lightmap grid you can adjust it this page should help you better understand https://developer.valvesoftware.com/wiki/Lightmap
 

Another Bad Pun

In the shadows, he saw four eyes lit by fire
aa
Jan 15, 2011
801
1,845
More than likely, vvis is cutting a visleaf in that spot due to the fact that your garage door next to it is slightly indented. Visleafs can cause lighting cuts like this regardless of light map alignment.

The func_lod working is probably due to the entity getting its light source from the origin. The func_detail didn't change the cutting of visleaf in a way that fixed the lighting.

I would try readjusting some hints to see if that fixes it. Maybe put a hint flush over the door and that entire wall.
 
Last edited:

MegapiemanPHD

Doctorate in Deliciousness
aa
Mar 31, 2012
1,937
1,280
More than likely, vvis is cutting a visleaf in that spot due to the fact that your garage door next to it is slightly indented. Visleafs can cause lighting cuts like this regardless of light map alignment.

The func_lod working is probably due to the entity getting its light source from the origin. The func_detail didn't change the cutting of visleaf in a way that fixed the lighting.

I would try readjusting some hints to see if that fixes it. Maybe put a hint flush over the door and that entire wall.
That whole group of brushes are all func_detail and aren't cutting vis.
 

Another Bad Pun

In the shadows, he saw four eyes lit by fire
aa
Jan 15, 2011
801
1,845
That whole group of brushes are all func_detail and aren't cutting vis.
The hallway you have creates a T-junction and so it will happen regardless