Eric Wasylishen
|
d30c970d8b
|
light: always call MakeEdgeToFaceMap
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
8acbea291c
|
light: remove unused struct
|
2017-02-09 14:19:08 -07:00 |
Eric Wasylishen
|
f09cadbc76
|
light: switch to new world space <-> texture space code
|
2017-02-08 17:51:22 -07:00 |
Eric Wasylishen
|
70644907e0
|
Revert "light: move Lightmap_Soften into WriteLightmaps"
This reverts commit bc2d734e9a.
|
2017-02-08 17:10:26 -07:00 |
Eric Wasylishen
|
bc2d734e9a
|
light: move Lightmap_Soften into WriteLightmaps
|
2017-02-08 02:23:21 -07:00 |
Eric Wasylishen
|
1211fd86d1
|
light: move bounce to its own file
|
2017-02-07 00:51:05 -07:00 |
Eric Wasylishen
|
c7756496cd
|
light: move phong shading code to its own file
|
2017-02-07 00:06:29 -07:00 |
Eric Wasylishen
|
f018b7324d
|
light: refactor phong shading to use GLM
|
2017-02-06 22:50:56 -07:00 |
Eric Wasylishen
|
7fdb77188c
|
light: work-in-progress stuff
|
2017-02-06 21:57:49 -07:00 |
Eric Wasylishen
|
186485ec47
|
light: revert ee89d41b6d since it's now handled within the trace code
|
2016-11-03 18:27:40 -06:00 |
Eric Wasylishen
|
91fcfe5b9a
|
light: use glass texture colors to tint rays
|
2016-11-03 02:26:53 -06:00 |
Eric Wasylishen
|
ee89d41b6d
|
light: light passing through glass lights up the back side, scaled by (1-alpha)
|
2016-11-02 21:35:11 -06:00 |
Eric Wasylishen
|
ed708f5154
|
light: allow both _mincolor and _minlight_color on bmodels
|
2016-11-02 18:05:44 -06:00 |
Eric Wasylishen
|
731e46d005
|
light: fix extended texinfo array type
|
2016-11-02 17:29:18 -06:00 |
Eric Wasylishen
|
a6468984bf
|
all: finish c++ification
|
2016-10-17 19:52:17 -06:00 |
Eric Wasylishen
|
57834c438b
|
light: add "_lightignore" model key
|
2016-09-20 16:15:12 -06:00 |
Eric Wasylishen
|
46a56df19f
|
light: add -bouncelightsdebug switch to render bounce lights
|
2016-09-20 00:04:02 -06:00 |
Eric Wasylishen
|
722f753d8d
|
light: remove some unused vis-testing stuff
|
2016-09-19 19:21:04 -06:00 |
Eric Wasylishen
|
073ede98c7
|
light: when there are too many lightstyles on a face, sort them by descending average brightness and take the top 4
previous behaviour was random, which made needlessly ugly artifacts.
|
2016-09-18 15:12:57 -06:00 |
Eric Wasylishen
|
8bff999601
|
light: move lightmaps array to lightsurf_t
|
2016-09-18 02:22:26 -06:00 |
Eric Wasylishen
|
700e8d089f
|
light: add -verbose option
|
2016-09-17 23:49:41 -06:00 |
Eric Wasylishen
|
18797f81c0
|
light: fix for -dirt not implying -minlight_dirt, -sunlight_dirt, -sunlight2_dirt
|
2016-09-08 15:21:18 -06:00 |
Eric Wasylishen
|
5e9b62dc8b
|
light: add "testlight" target
|
2016-08-15 21:18:14 -06:00 |
Eric Wasylishen
|
d7948c4bdd
|
light: move settings system to its own files
|
2016-08-12 19:15:25 -06:00 |
Eric Wasylishen
|
a0f3881698
|
light: refactor global settings into a class
|
2016-08-12 18:49:32 -06:00 |
Eric Wasylishen
|
28b034a172
|
light: drop visdata support, no longer needed
|
2016-08-10 00:49:41 -06:00 |
Eric Wasylishen
|
677875a63e
|
light: cull lights based on estimated visible AABB of each light
|
2016-08-09 18:16:32 -06:00 |
Eric Wasylishen
|
1a0fb22e40
|
light: move some helper functions to common/bsputils.{h,cc}
|
2016-08-07 22:55:44 -06:00 |
Eric Wasylishen
|
a807204fe6
|
build: vs2013 compat changes
|
2016-08-06 15:37:00 -07:00 |
Eric Wasylishen
|
7029ed5713
|
light: clean headers
|
2016-08-04 16:32:04 -06:00 |
Eric Wasylishen
|
fcc54c547f
|
light: change CalcPoints to only trace the model the face belongs to
|
2016-08-04 12:24:07 -06:00 |
Eric Wasylishen
|
2a3b87bf1f
|
light: rework bounce lighting for less memory use
|
2016-08-03 14:00:58 -06:00 |
Eric Wasylishen
|
607706a684
|
light: fix dangling pointers when a light_t is copied
|
2016-08-01 21:38:03 -06:00 |
Eric Wasylishen
|
03f703d931
|
light: remove redundant light value from lightsample_t
|
2016-07-31 11:47:27 -06:00 |
Eric Wasylishen
|
882348ac0a
|
light: use embree ray stream api
|
2016-07-30 00:40:45 -06:00 |
Eric Wasylishen
|
225a155efd
|
light: fix unwanted phong on everything
|
2016-07-29 19:48:28 -06:00 |
Eric Wasylishen
|
6bb842cd47
|
light: refactor tracelist and selfshadowlist to be std::vector
|
2016-07-29 15:56:48 -06:00 |
Eric Wasylishen
|
14f0af42be
|
light: add an assertion for settings system
|
2016-07-29 15:50:39 -06:00 |
Eric Wasylishen
|
a0d3a90df9
|
light: fix uninitialized model offset causing messed up lighting on submodels (!)
|
2016-07-29 13:34:42 -06:00 |
Eric Wasylishen
|
f4a363b416
|
light: make DirtTrace return a hittype_t
|
2016-07-27 13:07:50 -06:00 |
Eric Wasylishen
|
2771041a0a
|
light: lockable_setting_t: fix isLocked()
|
2016-07-27 12:31:30 -06:00 |
Eric Wasylishen
|
5b9405a93e
|
light: move suns to a std::vector
|
2016-07-27 11:05:54 -06:00 |
Eric Wasylishen
|
2651c79307
|
light: fixes to settings system
|
2016-07-27 02:20:25 -06:00 |
Eric Wasylishen
|
a68979a57b
|
light: add -nolights option
|
2016-07-27 02:00:11 -06:00 |
Eric Wasylishen
|
cbfe1e8ebf
|
light: simplify settings logic a bit
|
2016-07-27 01:55:23 -06:00 |
Eric Wasylishen
|
6da4ab87ae
|
light: reorganize settings
|
2016-07-27 00:49:34 -06:00 |
Eric Wasylishen
|
7757e834a3
|
light: clean up dirtmapping logic
|
2016-07-26 21:08:04 -06:00 |
Eric Wasylishen
|
da64f27015
|
light: add lockable_bool_t
|
2016-07-26 20:50:32 -06:00 |
Eric Wasylishen
|
dc856a329d
|
light: use settings system for lights
|
2016-07-24 12:23:46 -06:00 |
Eric Wasylishen
|
2c350b1f21
|
light: finish porting modelinfo reading to settings system
|
2016-07-24 00:31:58 -06:00 |