Ivan 'provod' Avdeev
9f72a804e0
vk: improve traditional blending universally
...
it is now almost on par with the gl renderer
2023-02-25 12:09:20 -08:00
Ivan 'provod' Avdeev
ce27bdb1b1
vk: fix studio models being modulated by ent color
2023-02-24 23:57:49 -08:00
Ivan 'provod' Avdeev
cd524c20cf
vk: make transparent brushes closer to gl
...
some of render modes are not affected by light, disable lightmaps for them
2023-02-24 23:54:41 -08:00
Ivan 'provod' Avdeev
03efb6ce83
fixup linux compiler warnings
2023-02-24 23:52:09 -08:00
Ivan 'provod' Avdeev
487c94662a
rt: HACK flickering lerping sprites
...
Lerping between sprite frames means drawing two coplanar quads blended the right way. This is not something ray tracing can accommodate easily for all blending modes.
Disable lerping for now
2023-02-24 22:52:38 -08:00
Ivan 'provod' Avdeev
005b7c84eb
vk: pass model color explicitly
...
Instead of passing model color around as an implicit global state, pass it per-model.
This makes it (a) easier to track, (b) easy to fix blending issues. E.g. this fixes incorrect coloring of brush and studio models, which is also different.
2023-02-24 22:48:26 -08:00
Ivan 'provod' Avdeev
92b1e78d85
vk: make trad sprites more like gl ones
...
still not fully there:
- glow is slightly off
- TransAlpha has wrong blending mode
apparently pipeline settings for brushes, models, and sprites are substantially different, need different pipelines
2023-02-24 17:43:07 -08:00
Ivan 'provod' Avdeev
a5b977c8a3
rt: make emissive surfaces ignore external light
...
this is not fully correct, but it fixes slightly off sprite colors for now
2023-02-23 20:08:02 -08:00
Ivan 'provod' Avdeev
41809b8952
vk: do not depth-test glow sprites
...
makes them more like gl ones
still not fully fixed though, need to work on their transparency, it should be also scaled
2023-02-23 20:07:06 -08:00
Ivan 'provod' Avdeev
4f6d51c368
vk: fix most of random sprite flickering
...
it was due to leaving garbage in vertex fields.
some animated spritest still flicker though
2023-02-23 20:05:58 -08:00
Ivan Avdeev
ad5e1b2b86
vk: fixup compilation w/o aftermath sdk
2023-02-23 18:59:14 -08:00
Ivan Avdeev
8514e2c7b8
ci: update vulkan sdk and distro versions
2023-02-23 14:18:02 -08:00
Ivan 'provod' Avdeev
1a6e967ddb
vk: change how device extensions are checked
...
make nv_checkpoint not depend on rt
split it logically from aftermath
don't crash when this extension is not available
2023-02-23 13:48:41 -08:00
Ivan Avdeev
053d26e870
move ref_vk to ref/vk
2023-02-16 10:30:31 -08:00
Alibek Omarov
f4069de7f2
engine: move SlerpBones, CalcBonePosition/Quaternion from engine to libpublic
2023-02-13 05:23:13 +03:00
Alibek Omarov
12154de6f5
ref: soft: fix -Wsequence-point
2023-02-06 16:42:09 +03:00
Alibek Omarov
ced6e8869a
ref: fix chrome texture being misaligned
2023-02-01 04:55:47 +03:00
Alibek Omarov
74ce7e9b10
ref: don't apply rendercolor to studio models where it's not needed
2023-01-13 15:25:58 +03:00
Alibek Omarov
c6bfc82019
ref: soft: implement screenshots
2023-01-05 07:09:23 +03:00
Alibek Omarov
4bbd0cc404
ref: add new special rendermode that specifically used for modulate mode in engine's ScreenFade
2023-01-05 06:07:56 +03:00
Andrey Akhmichin
7555fefc18
ref: gl: simplify strings operations.
2022-12-20 16:11:21 +03:00
Alibek Omarov
fd3c5e8384
ref: gl: VBO is disabled unless somebody picks it up and fixes memory corruption and other bugs
2022-12-08 06:50:12 +03:00
Alibek Omarov
406eb828da
ref: gl: disable underwater distortion by default, enable for Quake compatible mode only
2022-12-05 11:59:29 +03:00
SNMetamorph
3bd8ad50d2
ref: gl: fixed crash when opening "Customize" menu
2022-11-21 22:52:27 +03:00
Alibek Omarov
88045ce3be
ref: gl: link liblog for Android
2022-11-17 01:08:11 +03:00
Alibek Omarov
76d0608ee1
ref: fix beams end point
2022-11-16 22:54:07 +03:00
Alibek Omarov
b1e2e84a11
wscript: adapt main and ref_gl wscripts to new directory layout, add flag to build all renderers at once
2022-09-10 22:52:52 +03:00
Alibek Omarov
12a6088912
ref: gl: move GLES wrappers libraries to 3rdparty folder
2022-09-10 22:52:52 +03:00
Alibek Omarov
fe9f3f78a0
ref: soft: minimize dependency on internal engine headers
2022-09-10 22:52:52 +03:00
Alibek Omarov
327eb330ed
ref: gl: minimize dependency on internal engine headers
2022-09-10 22:52:52 +03:00
Alibek Omarov
dedc144b8b
ref: soft: convert to include targets usage
2022-09-10 22:52:52 +03:00
Alibek Omarov
6d37398fad
ref: gl: convert to include targets usage
2022-09-10 22:52:52 +03:00
Alibek Omarov
61c142e2db
ref: move renderers into ref subdirectory
2022-09-10 22:52:52 +03:00