shadows prob


(nodey) #1

Hi all.
I’m getting some really nasty shadows in the map i’m making:

As you can see there are squares here and there.
What i’m looking for is some way to make the shadows smoother without getting into the shaders.
Is there some bsp option that might help me?

some settings:
minlight 10
mingridlight 10
minvertexlight 10
(i dont really know what the last 2 do, what can i say, i’m a naab)

Thanks in advance.[/img]


(zl1corvette) #2

Try -samples 3 on your light compile, I think that should smooth things out.
You could also try -samplesize on your bsp compile, the lower the number, the more detailed the lightmap is (default is 16 I think), dont make it to small or you’ll have a ton of lightmaps and really long compile times.


(nodey) #3

Ok, i read a post by loffy about the _lightmapscale and tried to try it out.

So i add _lightmapscale 0.0625 in my world spawn. Which i don’t recommend because it took ages to compile and added about 16 mb of tga’s in my folder.
Like loffy said, it prolly should be done if you have a very small map/shoebox.

Anyways, that solved some of the weird shadows but now i have blue-ish colors in the shadows instead.
I’m guessing that has to do with blending?

You could also try -samplesize on your bsp compile, the lower the number, the more detailed the lightmap is (default is 16 I think), dont make it to small or you’ll have a ton of lightmaps and really long compile times.

Where do i find/change the samplesize? I usually just use the pulldown menu for compiling.


(zl1corvette) #4

Using the samplesize switch is essentially the same as using the _lightmapscale key. To use it you would probably need one of the front-ends of q3map2 or a batch file. I use a batch file, so I can’t really recommend one of the frontends. Info on batch files is in the LDR btw. I am not sure about the blue shadows. Instead of making the worldspawn lightmapscale .0625 why not just func_group each of the troublesome walls and set the _lightmapscale on those. .0625 is probably a bit overkill, you might want to try higher values, but I wouldn’t pick anything >1 as that is the default(i think). http://www.shaderlab.com/q3map2/manual/ This website has tons of information about the different switches/keys/shaders you can use.