Eric Wasylishen
|
7f182cf107
|
light: lit water: receive light from either side of the face
|
2016-05-29 16:01:31 -06:00 |
Eric Wasylishen
|
21a4fd5287
|
light: allow disabling bounce on command line
|
2016-05-27 18:47:12 -06:00 |
Eric Wasylishen
|
bb19618763
|
light: add -phong 0 flag to force phong shading to be disabled
|
2016-05-27 18:18:50 -06:00 |
Eric Wasylishen
|
a4445bdd77
|
light: allow force-disabling dirtmapping at the command line
|
2016-05-27 17:52:56 -06:00 |
Eric Wasylishen
|
af6b4aa375
|
light: remove useless -no_parse_escape_sequences flag
|
2016-05-27 15:51:33 -06:00 |
Eric Wasylishen
|
b17e345087
|
light: remove broken -fence feature
|
2016-05-27 15:50:52 -06:00 |
Eric Wasylishen
|
30673903ed
|
light: refactor dirt*SetOnCmdline variables
|
2016-05-27 15:22:32 -06:00 |
Eric Wasylishen
|
ca0f0448fe
|
light: only allow one debug mode at a time
|
2016-05-27 12:25:51 -06:00 |
Eric Wasylishen
|
e290d844bf
|
light: only shadow-casting faces generate bounce lights
|
2016-05-20 13:34:30 -06:00 |
Eric Wasylishen
|
55df37941c
|
light: add -bouncecolorscale flag
|
2016-05-20 12:00:57 -06:00 |
Eric Wasylishen
|
a6f4dad172
|
light, vis: move plane_t to mathlib.h
|
2016-05-19 15:26:30 -06:00 |
Eric Wasylishen
|
45010089f3
|
light, common: move WindingFromFace to bspfile.c/h
|
2016-05-19 15:07:31 -06:00 |
Eric Wasylishen
|
a0f636a69a
|
light: bounce: refactor to do in a second lighting pass
|
2016-05-19 02:53:18 -06:00 |
Eric Wasylishen
|
a5356c161c
|
light: bounce: scale bounced light by texture color
|
2016-05-14 20:51:21 -06:00 |
Eric Wasylishen
|
d0480049e8
|
light: move TRACE_HIT_ constants to trace.c
|
2016-05-11 16:30:26 -06:00 |
Eric Wasylishen
|
7bd93cce37
|
light: move private BSP tracing stuff from light.h to trace.c
|
2016-05-11 16:23:02 -06:00 |
Eric Wasylishen
|
3fb8b7d1e5
|
light: delete -lightturb and related flags for generating lightmaps for TEX_SPECIAL textures.
mankrip's lit water implementation relies on qbsp splitting water, so this code is not needed.
|
2016-04-29 23:23:28 -06:00 |
Eric Wasylishen
|
72c47c1b56
|
light: bounce: refactor a bit
|
2016-04-29 18:11:14 -06:00 |
Eric Wasylishen
|
2bca34265c
|
light: use vis acceleration for bounce lights
|
2016-04-29 11:27:02 -06:00 |
Eric Wasylishen
|
713b92dcb5
|
light: preliminary bounce implementation
|
2016-04-27 19:19:29 -06:00 |
Eric Wasylishen
|
d426c8d9da
|
light: some setup for bounced lighting
|
2016-04-26 15:14:22 -06:00 |
Eric Wasylishen
|
c58528499d
|
light: when interpolating a normal that lies outside of a face, recursively look it up on adjacent faces
|
2016-04-26 00:29:50 -06:00 |
Eric Wasylishen
|
f3132f342c
|
light: Mod_LeafPvs: return whether we found a real pvs
|
2016-04-24 18:24:41 -06:00 |
Eric Wasylishen
|
5ac18e5c6f
|
light: index some PVS info at startup
|
2016-04-22 20:11:59 -06:00 |
Eric Wasylishen
|
d309aa02b0
|
light: refactor CalcPvs to calculate the face pvs in a cleaner way
|
2016-04-22 19:15:49 -06:00 |
Eric Wasylishen
|
338ceae8c8
|
light: add face to lightsurf struct
|
2016-04-21 00:13:31 -06:00 |
Eric Wasylishen
|
1ea4d52eab
|
light: add -novis flag
|
2016-04-20 23:57:04 -06:00 |
Eric Wasylishen
|
e1bad1bbd6
|
light: rewrite normal interpolation
|
2016-04-20 01:39:42 -06:00 |
Eric Wasylishen
|
0c93c5c3d0
|
light: DirtTrace: add extra argument for hit face
|
2016-04-19 01:26:21 -06:00 |
Eric Wasylishen
|
2a4168f35c
|
light: add _minlight_exclude bmodel key
|
2016-04-17 22:51:14 -06:00 |
Eric Wasylishen
|
fff8cbffbc
|
light: use vis data
|
2016-04-14 20:15:52 -06:00 |
Eric Wasylishen
|
321eac8aaa
|
light: make PrintFaceInfo non static
|
2016-04-12 01:07:37 -06:00 |
Eric Wasylishen
|
c86731ab58
|
light: make TriangleArea non static
|
2016-04-11 00:47:21 -06:00 |
Eric Wasylishen
|
cf8e3fc935
|
light: augment DirtTrace with the hit plane
|
2016-04-10 22:30:42 -06:00 |
Eric Wasylishen
|
986334a86b
|
light: unify "_anglescale" worldspawn key and "-anglescale" command line option, previously they were different.
Fix "-anglescale" command line option which was broken.
Make sunlight2 use the global anglescale setting.
|
2016-04-10 18:25:15 -06:00 |
Eric Wasylishen
|
b6c9873289
|
light: return hit normal for DirtTrace
|
2016-04-10 15:27:21 -06:00 |
Eric Wasylishen
|
0a6708edb0
|
light: remove embree support
|
2016-04-10 14:43:37 -06:00 |
Eric Wasylishen
|
ab9be6bbf2
|
light: refactoring
|
2016-04-07 13:16:21 -06:00 |
Eric Wasylishen
|
c9aad9d2ce
|
light: Refactor CalcPoints, store whether a point is occluded
|
2016-04-06 18:29:24 -06:00 |
Eric Wasylishen
|
a6a89db530
|
light: refactor tracelist to be a list of modelinfo_t instead of dmodel_t
|
2016-04-05 23:25:36 -06:00 |
Eric Wasylishen
|
e11e9d5c1f
|
light: embree support
|
2016-03-30 14:58:21 -06:00 |
Eric Wasylishen
|
d2f1eb2b2b
|
light: support _phong and _phong_angle on bmodels for compatibility with other qbsp's.
|
2016-03-05 22:51:17 -07:00 |
Eric Wasylishen
|
41972a376a
|
qbsp, light: Strip texinfo flags other than TEX_SPECIAL.
Write extended ones to a "mapname.texinfo" file.
Support "_dirt" and "_minlight" flags on func_detail/group.
|
2016-03-05 00:26:54 -07:00 |
Eric Wasylishen
|
0b4c044473
|
light: fix dirtmapping traces
|
2016-03-04 20:40:14 -07:00 |
Eric Wasylishen
|
fec88c3186
|
light: fix build on MSVC
|
2016-03-02 19:21:30 -08:00 |
Eric Wasylishen
|
492d94c1fe
|
light: new phong shading keys, "_phong_angle" and "_phong".
"_phong" "1" is a shortcut for "_phong_angle" "89".
"_phong_angle" sets the max angle in degrees between faces that will get smoothed.
|
2016-03-02 20:00:05 -07:00 |
Eric Wasylishen
|
f641e93ca2
|
light: convert light.c to light.cc
|
2016-03-02 17:07:02 -07:00 |
Eric Wasylishen
|
4ed6db3020
|
light: add new TraceFaces API which gives accurate info on the first hit face of a trace.
Need to use this for: dirtmapping, fence textures, GI
|
2016-02-21 22:31:06 -07:00 |
Eric Wasylishen
|
4e74e530c0
|
light: dynamically allocate memory for lighting each face
|
2016-02-20 14:43:38 -07:00 |
Eric Wasylishen
|
22dd1726de
|
light: move lightsurf_t etc. to header
|
2016-02-20 14:41:58 -07:00 |