NightFox
907b3f40b3
add GPU selector logic and...
...
rename VK_LoadCvarsRTX to VK_LoadCvarsAfterInit
2021-12-11 13:14:54 -08:00
NightFox
ea1767f2c2
cvar improvements №2
...
added vk_only for old -rtx behavior (full disable rtx pipeline)
remove -vkskipdev and skip_first_device as unused and obsolete
remove obsolete check ("missing ray tracing extensions")
addedv VK_LoadCvarsRTX for rtx commands
remove vk_rtx_prev_frame_blend_factor as an outdated command
added vk_deviceid as a stub for video device selection
vk_rtx_reload_materials no longer shown when vk_core.rtx = 0
2021-12-11 13:14:54 -08:00
Ivan Avdeev
b0e3ebfc32
rtx: add mass-patching, fix #275
2021-12-11 12:52:29 -08:00
Ivan Avdeev
803889e54f
Merge pull request #272 from a1batross/vulkan
...
Various patches, sync with upstream
2021-12-10 17:50:18 -08:00
622dc6a2f7
github: disable Android at this moment
2021-12-10 15:00:49 +03:00
045951a216
common: forgot to add ref_device.h
2021-12-10 14:53:26 +03:00
Ivan Avdeev
cad38d0d17
Merge pull request #273 from 0x4E69676874466F78/rads
...
Update rads
2021-12-09 20:39:04 -08:00
deeb84c5eb
engine: get rid of stupid XASH_VULKAN. Vulkan support must be decided by the platform-code, not during build-time, and available if possible. Otherwise it can always return nothingness and refuse to create REF_VULKAN context
2021-12-10 02:58:26 +03:00
e0f0e5f0cb
Merge branch 'master' into vulkan
2021-12-10 01:14:10 +03:00
f60112773f
public: crtlib: include string.h for strlen
2021-12-10 01:13:08 +03:00
a99e1ca509
Merge master into vulkan
2021-12-10 01:12:04 +03:00
3a8a7f290d
ref_vk: wscript: split rtx shaders into new build target for specific glslc flags
2021-12-10 01:01:28 +03:00
ffd618b382
rtx: print all unsupported extensions
2021-12-10 01:00:38 +03:00
Ivan Avdeev
2bd964b16f
Merge pull request #260 from w23/E177
...
Many lighting improvements
2021-12-08 12:46:58 -08:00
Ivan Avdeev
f59fadec51
rtx: improve barycentric triangle sampling
...
, #265
2021-12-08 12:35:49 -08:00
Ivan 'provod' Avdeev
6e9b54869c
rtx: fix shadows for surfaces with alpha mask
2021-12-08 12:08:26 -08:00
Ivan Avdeev
e831a9c9dd
rtx: fixup point/spot light attenuation after sampling fixes
2021-12-08 11:27:04 -08:00
Ivan Avdeev
8d041d3fb0
rtx: fixup emissive color, #145
2021-12-08 11:26:26 -08:00
Ivan Avdeev
f9fc8fd2f2
rtx: read _xvk_radius instead of radius in patch files to disambiguate, fix #259
2021-12-08 11:25:39 -08:00
Ivan Avdeev
4becafc02c
Merge branch 'sample-emissive-lights-textures' into E177
...
Also do not multiply emissive textures by emissive color. similar to how
original lighting works.
qrad lighting treats emissive surfaces as constant color w/o paying
attention to texture contents. And then the rederer just draws textures
w/o lightmaps.
We need to figure out what to do with pbr path tracer.
2021-12-08 10:43:11 -08:00
37aa5b1e99
engine: gamma: use FBitSet
2021-12-08 20:28:30 +03:00
SNMetamorph
aa07dab8ab
engine: added feature flag ENGINE_LINEAR_GAMMA_SPACE
2021-12-08 20:27:02 +03:00
ac213c22ed
ref: change some FCVAR_ARCHIVE to FCVAR_GLCONFIG to save in separate config
2021-12-08 17:58:16 +03:00
e0efe0aa23
engine: remove emboss filter. There seems no real use for it.
2021-12-07 09:09:45 +03:00
29bc0392ee
scripts: compiler_optimizations: disable clang thread-safe statics
2021-12-07 09:03:51 +03:00
054765232e
waifulib: xcompile: add NDK 23 support
2021-12-07 09:03:20 +03:00
89425e4bf2
mainui: update
2021-12-07 05:16:47 +03:00
a777e7c80d
engine, ref: add sprite and studio cvars to shared cvars list
2021-12-06 05:17:25 +03:00
1350fd0b52
engine: ref: use right Cvar_Get function :)
2021-12-06 05:02:30 +03:00
d7db48ce4b
engine, ref: create shared cvars list, register them at engine side, make a generic macro to declare, define and get all pointers at ref side
2021-12-06 04:57:32 +03:00
293482fbd5
engine: FCVAR_GLCONFIG are not readonly anymore. To make truly readonly cvar for renderer, one must apply FCVAR_READ_ONLY flag
2021-12-06 03:56:18 +03:00
Ivan Avdeev
e3e8693b13
rtx: attenuate lights based on solid angle, not distance and area, #145
...
breaks previous tuning
2021-12-05 13:38:16 -08:00
NightFox
de2a52dd71
Update ref_vk/vk_cvar.c
...
Co-authored-by: Ivan Avdeev <me@w23.ru>
2021-12-04 22:02:34 -08:00
NightFox
fb79c1937f
Update text for disabled rtx
2021-12-04 22:02:34 -08:00
NightFox
8e0be3c372
add vk_rtx_extension cvar for rtx options, more smart vk_rtx cvar
2021-12-04 22:02:34 -08:00
NightFox
e3cbb785e2
Add FCVAR_READ_ONLY and unlock FCVAR_GLCONFIG (temporary solution for some commands)
2021-12-04 22:02:34 -08:00
NightFox
c6f92b0664
Add ClearBits for FBitSet
...
Because otherwise the condition will be called all the time.
2021-12-04 22:02:34 -08:00
Ivan Avdeev
3de2a98db4
rtx: fix skipping the last leaf when clustering lights, fix #97
...
apparently model_t->leafs goes from 1 to model_t->numleafs, not from 0
to model_t->numleafs-1
2021-12-03 11:37:10 -08:00
Valery Klachkov
3b6898f701
force rtx if supported card found, remove flag
2021-12-03 11:29:06 -08:00
NightFox
b81c5a4c4d
switch submodule mainui to zgdump/mainui_cpp fork
2021-12-03 11:27:32 -08:00
NightFox
152748b657
fix error: implicit declaration of function
2021-12-03 11:26:50 -08:00
NightFox
f501f8255d
add reload 2d pipeline
2021-12-03 11:26:50 -08:00
Ivan Avdeev
1dabdc67d6
sample emissive lights textures
2021-12-03 09:57:24 -08:00
3771a1d6c5
public: replace our Q_strlen with standard strlen with nullptr check in macro
2021-12-03 09:44:51 +03:00
07f1f7ded1
engine: launcher: use our Q_strncpy instead of standard strncpy
2021-12-03 09:41:58 +03:00
1cac321c00
engine: enable filtered command buffer for dedicated to pass the tests
2021-12-03 09:41:23 +03:00
aa7bfb4819
engine: check for non-standard alloca header
2021-12-03 09:22:40 +03:00
0c18a06946
engine: sequence: use Q_strncpy instead of standard strcpy
2021-12-03 09:22:40 +03:00
Valery Klachkov
99f382429e
Vulkan is the best of the renders!
...
Co-authored-by: Ivan Avdeev <me@w23.ru>
2021-12-01 22:19:45 -08:00
Valery Klachkov
4c14dfbd9f
Add vk render to video modes
2021-12-01 22:19:45 -08:00