Alibek Omarov
5e1b5d89f7
engine: client: console: allow opening OSK and existing console with gamepads for all platforms
2023-02-09 05:58:54 +03:00
Alibek Omarov
a0edfd28b2
engine: common: host: use DEFAULT_ALLOWCONSOLE macro to set default console state
2023-02-09 05:56:11 +03:00
Alibek Omarov
555fd02407
defaults: reorganize platform default overrides, disable touch for nswitch
2023-02-09 05:55:35 +03:00
Alibek Omarov
f7f9cfecfc
ci: nswitch: use waf install to copy build artifacts
2023-02-09 05:35:30 +03:00
Alibek Omarov
2aeee59a31
Merge remote-tracking branch 'fgsfds/switch_newer'
2023-02-09 05:18:06 +03:00
Ivan Avdeev
780b225735
mark a bunch of things as done
2023-02-08 14:55:17 -08:00
Ivan Avdeev
a46d82f3b5
Merge pull request #419 from w23/bounces
...
Add indirect illumination
2023-02-08 10:32:02 -08:00
Ivan 'provod' Avdeev
3ecd21a25b
rt: simplify bounce computations
...
use simpler polygon sampling
use smaller texture lods
2023-02-08 10:11:00 -08:00
Ivan 'provod' Avdeev
c5a1343fc6
rt: add additive to bounces
2023-02-08 09:44:28 -08:00
Ivan 'provod' Avdeev
5b59c387c1
rt: add emissive to specular bounce
...
makes it sample skybox, but is probably incorrect in other circumstances
2023-02-08 09:35:21 -08:00
Ivan 'provod' Avdeev
62720a7ed3
rt: fix uninitialized memory denoiser glitches
...
was reading garbage when ray doesn't hit anything
2023-02-08 09:34:40 -08:00
Ivan 'provod' Avdeev
19c4e2a1d8
rt: add reflections
...
i was trying to add specular properly: replace them with specular bounce. but it doesn't really work that easily. need some kind of color mapping and figuring out how to make them look consistent.
this commit still does them separately, i.e. specular is done in direct lighting pass. no emissive is added on bounce. this probably makes it not reflect skybox ;_;.
2023-02-08 09:25:40 -08:00
Alibek Omarov
12b8965a8c
mainui: update
2023-02-08 20:01:06 +03:00
Alibek Omarov
b5b6b8b785
engine: network: fix some unitialized sockaddr_storage's
2023-02-08 20:00:51 +03:00
fgsfds
35e073ceff
ci: nswitch: don't forget filesystem_stdio
2023-02-08 01:53:26 +01:00
fgsfds
b2cc96cf0d
scripts: wscript: nswitch: do the libstdc++ hack right before build to not pollute the environment
2023-02-08 01:37:35 +01:00
fgsfds
f7489a3747
scripts: nswitch: it's arm64, not aarch64
2023-02-08 01:04:31 +01:00
fgsfds
0e7ebf6d44
Merge branch 'master' of https://github.com/FWGS/xash3d-fwgs into switch_newer
2023-02-08 00:56:20 +01:00
fgsfds
69607d7890
nswitch: do not link libstdc++ into dynamic libraries
...
instead only link it to the main executable with --whole-archive, letting the dynamic libs import anything they want from it
2023-02-08 00:52:48 +01:00
fgsfds
4e87eb068a
engine: common: nswitch: use #if instead of #ifdef
2023-02-07 23:03:59 +01:00
Alibek Omarov
03a7c67731
public: build: revert arm64 renaming to aarch64, we shouldn't enforce naming changes without a reason
2023-02-08 00:03:15 +03:00
Alibek Omarov
5ba2449d10
engine: common: static-ify functions in mod_studio.c
2023-02-08 00:03:15 +03:00
fgsfds
0ee2fd8a8a
ci: nswitch: do not dumb, 00 penalty
2023-02-07 20:52:23 +01:00
fgsfds
080b9b30a1
ci: nswitch: do not put the pkgtemp folder into the .7z
2023-02-07 20:45:42 +01:00
fgsfds
749ac5ed54
ci: nswitch: do not rely on dkp-pacman at all
2023-02-07 20:38:40 +01:00
fgsfds
6c8b9af6bb
ci: nswitch: fix artifact packaging
2023-02-07 20:35:24 +01:00
fgsfds
07922c0239
ci: nswitch: actually set env vars properly
2023-02-07 20:26:24 +01:00
fgsfds
1a54ec92e0
github: ref name not required
2023-02-07 20:26:13 +01:00
fgsfds
663b574b8b
github: checkout the switch_newer branch for now
2023-02-07 20:22:30 +01:00
fgsfds
430c51b71a
ci: nswitch: there is no python-is-python3 where we're going
2023-02-07 20:14:11 +01:00
Ivan 'provod' Avdeev
ea7879bff8
rt: add lighting to bounce
...
no specular just yet
2023-02-07 11:13:10 -08:00
fgsfds
20bcd03f19
ci: nswitch: ...and set it to be the default python install
2023-02-07 20:07:48 +01:00
fgsfds
dab959fc32
ci: nswitch: the docker container is missing python, install it
2023-02-07 20:04:36 +01:00
fgsfds
eff75e5d50
ci: nswitch: the docker container is missing dkp-toolchain-vars, install it
2023-02-07 20:00:49 +01:00
fgsfds
d103f022b4
ci: nswitch: forgot run
2023-02-07 19:55:33 +01:00
fgsfds
72b8246969
ci: nswitch: attempt to use dkp's docker image
...
because they banned the ci server from accessing their pacman repo
2023-02-07 19:54:00 +01:00
Ivan 'provod' Avdeev
7188711451
rt: add test color-only bounce
...
no lighting yet, just base color
2023-02-07 10:46:57 -08:00
fgsfds
030d05f018
ci: nswitch: make install with sudo
2023-02-07 18:38:18 +01:00
fgsfds
59cd5493e7
github: add nswitch build target
2023-02-07 18:35:08 +01:00
fgsfds
98a7f6fa3f
ci: add nswitch build scripts
2023-02-07 18:34:58 +01:00
Ivan Avdeev
3edcb7c007
Upload only dirty light clusters regions, PR #418
...
Ends up uploading only a few megs per frame, spread across a hundred or so ranges on average.
Still not great, now validation is too slow. But otherwise it's back to ~60fps.
I think it's end of the line for this approach. Even betterer light clusters would need a complete overhaul, e.g. being moved completely to GPU compute.
Fixes #385
2023-02-07 09:26:43 -08:00
fgsfds
65095df124
Merge branch 'master' of https://github.com/FWGS/xash3d-fwgs into switch_newer
2023-02-07 17:15:01 +01:00
fgsfds
ee370ea007
Merge branch 'master' of https://github.com/FWGS/xash3d-fwgs into switch_newer
2023-02-07 17:14:47 +01:00
Alibek Omarov
05016f8639
engine: vgui: add EnableTextInput to the API
2023-02-06 16:42:09 +03:00
Alibek Omarov
12154de6f5
ref: soft: fix -Wsequence-point
2023-02-06 16:42:09 +03:00
Alibek Omarov
3fca567b81
wscript: few more warnings-as-errors
2023-02-06 16:42:09 +03:00
Ivan 'provod' Avdeev
0573186334
rt: upload dirty light clusters; use them in shaders
...
known issues:
- -vkvalidate performance is bad, as it has to validate dozens-hundreds of buffer uploads
- still doesn't solve the case where entire map ends up being updated
2023-02-05 23:35:08 -08:00
Alibek Omarov
634574f249
engine: platform: sdl: don't enable text mode with cursor???
2023-02-06 00:29:14 +03:00
fgsfds
f782d444a8
engine: platform: posix: don't redefine _GNU_SOURCE
2023-02-06 00:05:41 +03:00
fgsfds
b68def2b9c
engine: touch: only pop up touch keyboard on FINGERDOWN events
2023-02-06 00:05:32 +03:00