Ugly shadows on my map while my lightmap scale is 24

  • If you're asking a question make sure to set the thread type to be a question!

Seitan

L3: Member
Oct 30, 2015
135
8
My map has a lightmap scale with a value of 24 and I'm still getting these ugly shadows, also I tried with 16 lightmap scale and I'm still getting the same ugly shadows:

http://imgur.com/a/dnNC0

Maybe the light entities are too close to the walls?
 

Freyja

aa
Jul 31, 2009
2,994
5,813
Moving the light entities away will reduce the pixellation yes.

However this looks normal for a 16 lightmap scale (Why are you using 24 anyway? 16 is usually more than fine), reducing it further will alleviate some of the pixellation but at the same time VRAD is just bad sometimes.
 

worMatty

Repacking Evangelist
aa
Jul 22, 2014
1,257
999
Strong contrasts, i.e. lights shining on very dark walls also makes lightmaps look bad, probably because the gradient from light to dark can't be smoothly rendered with such a low number of luxels (units of light on a lightmap). Brightening the environmental lighting a bit will help, too. That basically makes the baseline darkness closer to the brightness so it's less of a distance between them.
 

Seitan

L3: Member
Oct 30, 2015
135
8
I changed my lightmap scale from 16 to 4 and I'm still having ugly shadows on those spots, I will try moving the light entities away from the walls
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,694
2,579
FYI those light fixtures probably ought to use light_spot entities angled down the same way as the fixtures themselves. That'd fix your problem as well as making the lighting more true-to-life.
 

Seitan

L3: Member
Oct 30, 2015
135
8
I compiled my map and received a couple of leak warnings, I fixed the leaks and now all of my singleplayer games are mat_fullbright 1, it won't turn off, mat_fullbright 0 doesn't work, my singleplayer games are stuck at mat_fullbright 1, it's like setting it to 0 doesn't work anymore.
 

hutty

aa
Mar 30, 2014
538
444
A couple things, you might still have leaks, if unsure check the compile log and toss it into the error checker on http://www.interlopers.net/errors/

Also, when you say changing the lightmap scale of the map, are you changing the specific faces using the face select tool? Or are you doing something else.