Eric Wasylishen
|
10386581a6
|
light: make bounce of styled lights opt in with "_bouncestyled" worldspawn key
|
2017-03-27 16:44:04 -06:00 |
Eric Wasylishen
|
8a83e3d351
|
light: BounceLightsForFaceNum(): return indices so we have 1 main copy of the bounce lights
|
2017-03-15 13:22:43 -06:00 |
Eric Wasylishen
|
c2c3e915e6
|
light: fix leak of lightsurf->realfacenums
|
2017-03-15 13:22:35 -06:00 |
Eric Wasylishen
|
33fbe56e12
|
light: save poly edge planes for bouncelights
|
2017-03-15 10:59:31 -06:00 |
Eric Wasylishen
|
1d66039b2c
|
light: save poly for bouncelights
|
2017-03-15 10:59:25 -06:00 |
Eric Wasylishen
|
154158ddba
|
light: BounceLightsForFaceNum: avoid an unnecessary std::vector copy
|
2017-03-15 10:59:16 -06:00 |
Eric Wasylishen
|
686696c362
|
light: Palette_GetColor: return glm vector
|
2017-03-12 15:41:52 -06:00 |
Eric Wasylishen
|
102bdc49f0
|
light: drop IntersectSingleModel api
|
2017-03-12 15:06:07 -06:00 |
Eric Wasylishen
|
ccb6ea27b1
|
light: some temporary api compatibility stuff
|
2017-03-12 12:58:30 -06:00 |
Eric Wasylishen
|
63e8f42c87
|
light: ray stream api: allow getting hit face
|
2017-03-07 13:37:52 -07:00 |
Eric Wasylishen
|
553f02d582
|
light: restore performance of bounce lighting
|
2017-03-06 22:50:20 -07:00 |
Eric Wasylishen
|
48a6314dfb
|
light: bounce styled lights
|
2017-03-05 20:05:34 -07:00 |
Eric Wasylishen
|
461afbc15d
|
light: remove ltface2.cc/hh
|
2017-03-01 13:20:09 -07:00 |
Eric Wasylishen
|
b163f766bb
|
light: drop unneeded light2.cc/hh
|
2017-02-27 19:10:55 -07:00 |
Eric Wasylishen
|
34947ced9c
|
light: delete RotationAboutLineSegment
|
2017-02-27 19:06:28 -07:00 |
Eric Wasylishen
|
69d5669773
|
light: delete some dead code
|
2017-02-27 17:43:56 -07:00 |
Eric Wasylishen
|
97a00f0f41
|
light: avoid recomputing things in CalcPointNormal
|
2017-02-26 22:58:08 -07:00 |
Eric Wasylishen
|
6c946038ee
|
light: move edgeToFaceMap_t stuff to phong.hh/cc
|
2017-02-25 14:44:59 -07:00 |
Eric Wasylishen
|
22b5684c23
|
light: save the actual face number of each sample point
|
2017-02-24 21:05:59 -07:00 |
Eric Wasylishen
|
29c7f79a0b
|
light: misc stuff
|
2017-02-23 20:53:10 -07:00 |
Eric Wasylishen
|
cafadddb62
|
light: expose faceextents_t in header
|
2017-02-21 22:59:40 -07:00 |
Eric Wasylishen
|
6f66473836
|
light: add mangle_from_vec
|
2017-02-14 23:45:38 -07:00 |
Eric Wasylishen
|
7300aacdff
|
light: Add -debugoccluded
|
2017-02-11 22:22:26 -07:00 |
Eric Wasylishen
|
1957fb1489
|
light: expose WorldToTexCoord_HighPrecision() in header
|
2017-02-11 15:45:50 -07:00 |
Eric Wasylishen
|
5fe4f23371
|
light: add a debug mode for showing contributing faces
|
2017-02-11 15:45:30 -07:00 |
Eric Wasylishen
|
9aae46bd1c
|
light: adjust Light_PointInSolid to take a model param
|
2017-02-10 15:54:07 -07:00 |
Eric Wasylishen
|
1f40e3a58f
|
light: extra field for contrib faces
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
87868275de
|
light: clean CalcPoints
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
71a3dd769a
|
light: clean up LightFace() function
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
d30c970d8b
|
light: always call MakeEdgeToFaceMap
|
2017-02-10 15:52:12 -07:00 |
Eric Wasylishen
|
b9d0de0ec8
|
light: expose some stuff in the light2 header
|
2017-02-10 15:52:12 -07:00 |
seth
|
10df0bf88e
|
Merge remote-tracking branch 'upstream/master'
|
2017-02-10 16:53:17 -05:00 |
Eric Wasylishen
|
8acbea291c
|
light: remove unused struct
|
2017-02-09 14:19:08 -07:00 |
Eric Wasylishen
|
bd0556cf22
|
light: switch to new Face_Centroid
|
2017-02-09 00:17:22 -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 |
seth
|
e68e38a08f
|
Merge remote-tracking branch 'upstream/master'
Fixed conflicts
|
2017-02-05 14:06:24 -05:00 |
seth
|
4a119e2098
|
Added _bouncescale to light sources
|
2017-02-05 13:47:47 -05:00 |
Eric Wasylishen
|
c035907ff8
|
light: move Face_MakeInwardFacingEdgePlanes() to bsputils.{hh,cc}
|
2017-02-01 14:38:42 -07:00 |
Eric Wasylishen
|
4ec1d92191
|
light: dirt_off_radius, dirt_on_radius
|
2017-01-30 16:11:56 -07:00 |
Eric Wasylishen
|
b46cba40a4
|
light: entity warnings: print bbox for bmodel entities
fixes https://github.com/ericwa/tyrutils-ericw/issues/120
|
2016-11-24 17:10:15 -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 |