Commit Graph
958 Commits
Author SHA1 Message Date
Garux d347167e01 try to support entities inside _skybox
inconsistent visibility
tMultiSky.map
2025-10-28 17:05:01 +05:00
Garux 1afbbf36fe print deduced Fog visible side uniformly to also feedback -1 side 2025-10-27 03:22:48 +05:00
Garux 4bbb043eff minor tweaks 2025-10-27 02:41:26 +05:00
Garux 968d36d656 fix _skybox geometry being not scaled when _skybox area had other entities
entities after _skybox were overwriting node->skybox flag
2025-10-26 17:24:09 +05:00
Garux 553dd81247 minor tweaks 2025-10-26 00:35:05 +05:00
Garux abadf52398 * support separated _ambient, _color per group, misc_model entities 2025-10-25 22:10:56 +05:00
Garux ae3b75b31f add ColorFromSRGB() 2025-10-25 18:23:20 +05:00
Garux 739bad8e24 * -format map_220: bsp to map of Valve220 format conversion 2025-10-21 23:49:45 +05:00
Garux bf9d5c3e5b fix texture alignment deduction during bsp to map decompilation on bmodels with origin
avoid different bmodels matching surfs mixture in GetBestSurfaceTriangleMatchForBrushside
2025-10-21 15:09:15 +05:00
Garux 1285e9c9e5 * fix AP texture alignment deduction during bsp to map decompilation 2025-10-21 05:17:16 +05:00
Aciz 2e02a8dd75 fix decltype declarations for GCC in MergeBspMain
'decltype(foo) foo = std::move(::foo)' is ambiguous on GCC and fails to compile, because it cannot determine whether you're trying to bind to the just created variable in the local scope, or the one that exists in global scope.
2025-10-20 20:55:36 +03:00
Garux e919276f52 * -wtf: During bsp to map conversion use common/WTF on faces with failed texture alignment deduction 2025-10-20 15:33:04 +05:00
Garux ee3ac80a62 * -modelclip: Decompile model autoclip brushes during bsp to map conversion (they are skipped by default)
explicit setting instead of reusing -force
2025-10-20 15:17:27 +05:00
Garux 5dbb0af073 minor tweaks 2025-10-20 14:52:24 +05:00
Garux e3611620f5 clarify -nobouncestore description (doesn't store after normal light pass too) 2025-10-19 09:10:00 +05:00
Garux 00c352b697 remove odd newlines 2025-10-09 02:45:30 +05:00
Garux c5ced679f4 more Quoted use 2025-10-06 23:31:01 +05:00
Garux eab59834bc * support distinct lighting from different sky shaders in one map (by Tom Arrow)
* -onesky: fallback to old behavior: any sky emits total of all suns/skylights in the map
2025-10-06 05:09:10 +05:00
Tom fef5c4648b -multiSun commandline flag: Draw sun/skylights only if they come from the sky whose shader they were defined in.
Every shader that emits sun or skyligghts gets an environment emitter index. All the suns/lights generated from that shader get the same index.
trace_t now has a bitmask of all the environment emitter indices encountered when hitting sky surfaces and checking their shader.
Lighting code checks whether the current sunlight has a defined environment emitter index and if it does, it checks whether it is set in the bitmask. Only then will the light be considered to hit.
2025-09-29 23:59:51 +02:00
Garux 76c423fa63 minor tweaks 2025-09-28 03:56:48 +05:00
Garux a8b0ac4eb7 define CLUSTER_OPAQUE CLUSTER_NORMAL constants 2025-09-23 17:25:51 +05:00
Garux 01e6ad9e1d define FOG_INVALID constant 2025-09-23 05:47:20 +05:00
Garux 6e2d0d139b define explicit AREA_INVALID constant 2025-09-23 04:46:33 +05:00
Garux 2580a1ee17 minor tweaks 2025-09-23 03:59:53 +05:00
Garux 66e15e9ba0 minor tweaks 2025-09-23 02:45:24 +05:00
Garux e8f74da3d2 minor tweaks 2025-09-22 22:36:41 +05:00
Garux 10cfb24b77 * fix and simplify FloodAreas
was bugged since original q3map
bug behavior was made consistent in c379aae1d4 (was determined by 1st brush face being areaportal before)
2025-09-22 16:32:16 +05:00
Garux 16a04110b3 fix MAX_PATCH_SIZE, it's 31 2025-09-18 23:40:31 +05:00
Garux fb3698b820 minor tweaks 2025-09-18 23:36:30 +05:00
Garux 2501b86856 * refactor to work without -maxshaderinfo limit, improve shader search performance 2025-09-18 21:07:03 +05:00
Garux 7ddab0634b minor tweaks 2025-09-17 14:49:19 +05:00
Garux 6e8079cc93 minor tweaks 2025-09-14 03:55:34 +05:00
Garux 1cce74baac fix typo 2025-09-14 03:48:17 +05:00
Garux d7f3e9bd3f minor tweaks 2025-09-04 16:01:47 +05:00
Garux 911a7cceeb minor tweaks 2025-09-03 00:29:13 +05:00
Garux 059702afc9 Merge pull request #243 from TomArrow/anotherstylefix
Fix bounce lighting for styled lights
2025-08-01 04:08:43 +05:00
Tom 7888d5905a Fix bounce lighting for styled lights 2025-07-31 23:45:25 +02:00
Garux 0a5b5a2afe remove currently unneeded workaround for mac 2025-08-01 02:15:23 +05:00
Tom a86bce515b fix vertex lights being broken on lightmapped surfaces for styled lights
Explanation:
Comes from that whole duality of lightmap coordinates for bsp and internal use. Internal always uses index (lightmapnum) 0 for the raw lightmap. The concrete final lightmap coordinates are only calculated and stored when saving the bsp and kept separate. For internal use, all other indices are never inited. Vertex light code tried to use the uninited raw lightmap coordinates with lightmapNum > 0, so just got either zeros or garbage for them for anything except the base lightmap/style 0.
2025-07-14 19:32:19 +02:00
Garux acec987852 Merge pull request #237 from Kr3m/dev-branch
Fixed mbspc linux build
2025-07-12 15:33:18 +05:00
Kr3m efeea5f403 reverted change in q2files.h to prepare for PR 2025-07-11 03:46:23 -04:00
Kr3m 7334103101 changed MNT_DIR to reference PWD since it expects the same path as the Makefile 2025-07-11 03:38:43 -04:00
Kr3m d468ad2409 fixed linux build 2025-07-11 03:31:51 -04:00
Garux 4cf97f5651 minor tweaks 2025-04-26 16:42:06 +05:00
Garux e1cd441c10 minor tweaks 2025-03-28 03:19:25 +05:00
Garux de097849ad * handle patch lodbounds in -shift and -scale 2025-03-28 03:14:08 +05:00
Garux 079f07a4a2 remove areaportal inside func_group warning
xml_Select such areaportals
automatically moving such areaportals to worldspawn might result in empty group entities, so just warn
2025-03-02 04:03:03 +05:00
Garux 283198c319 * fix tiny structural brushes breaking bsp tree 2025-02-24 02:52:23 +05:00
Garux b4b935cb53 Merge pull request #227 from Garux/filterPatch
* tighten FilterPatchIntoTree() regarding to even (pink) points
2025-02-17 16:29:17 +05:00
Garux 607d4c67ad tweak formatting 2025-02-05 15:59:29 +05:00