Browse Source
Added a new lighting sampler to take advantage of the improved lightmap indexing: use a pseudo-random jitter pattern to take multiple light samples in an area around the sample point, from all surrounding faces at a shallow angle.
Added a new lighting sampler to take advantage of the improved lightmap indexing: use a pseudo-random jitter pattern to take multiple light samples in an area around the sample point, from all surrounding faces at a shallow angle.
This further smooths out the lighting and reduces artifacts, while also better representing each face's entire lightmap.master
4 changed files with 81 additions and 4 deletions
-
34bsp.h
-
48lighting.cpp
-
1lighting.h
-
2main.cpp
Write
Preview
Loading…
Cancel
Save
Reference in new issue