Commit Graph

2098 Commits

Author SHA1 Message Date
Ivan 'provod' Avdeev c89dfee7b8 rtx: fix pre-denoise barriers, remove feedback from rgen 2021-11-07 13:49:44 -08:00
Ivan 'provod' Avdeev e6db0fde45 add debug names to various vk images 2021-11-07 13:49:44 -08:00
Ivan 'provod' Avdeev 3abd5ee259 BROKEN rtx: add denoiser compute stub 2021-11-07 13:49:44 -08:00
Ivan 'provod' Avdeev fca6857e51 rtx: add denoiser api stub 2021-11-07 13:49:44 -08:00
Anton Baskanov 3f70032e77 Convert fov to radians when computing pixel cone.
Fixes #167. Textures are still blurry when viewed at an angle as
UVDerivsFromRayCone does not take anisotropy into account.
2021-11-04 22:40:34 -07:00
Ivan Avdeev 36cf2146da add ui_infotool to print entity info under crosshair for debugging, fix #34 2021-11-03 10:53:56 -07:00
Ivan Avdeev 9a0fc7cdac move camera related things to camera.{h,c} 2021-11-03 10:53:56 -07:00
Ivan Avdeev f14b01f195 rtx: add r_lightmap cvar, fix #75 2021-11-02 10:36:31 -07:00
Ivan Avdeev 54e549d726 add ACES tonemapping, fix #120 2021-11-02 10:36:31 -07:00
Ivan Avdeev cfbce2c4b9 clamp swapchain dimensions, fix #185 2021-11-02 10:36:31 -07:00
Alibek Omarov b9901bcb70 engine: client: forgot to register s_warn_late_precache cvar 2021-11-01 14:49:30 +06:00
Alibek Omarov 2450803428 ref_vk: update RefAPI, make use of WorldToScreen rather than a stub 2021-10-31 17:31:03 -07:00
Alibek Omarov 6dfcdbb38e ref: update ref_gl and ref_soft interface according to previous commit 2021-10-31 17:31:03 -07:00
Alibek Omarov ddc8f25d1d engine: ref_api: purposefully moved WorldToScreen to 2D functions from TriAPI, since WorldToScreen is expected to be simpler in-engine version rather than TriAPI one 2021-10-31 17:31:03 -07:00
Alibek Omarov 710b51ab88 public: build: fix missing define value 2021-10-31 17:31:03 -07:00
Alibek Omarov b8d72da847 engine: build: add RISC-V support(based on @archanox patches), add MIPS64 support 2021-10-31 17:31:03 -07:00
Alibek Omarov dad50dd19b public: build: add RISC-V support(based on @archanox patches), add forcing endianness from build system 2021-10-31 17:31:03 -07:00
Alibek Omarov 59af947efd engine: server: restore log functionality from old engine. Thanks to @ValeTheVioletMote for initial patch. 2021-10-31 17:31:03 -07:00
Vale the Violet Mote 08f50e97b8 readme: Linux Build Extended Clarity (#659) 2021-10-31 17:31:03 -07:00
Владислав Сухов b142fb0bca client: Don't change loading bar color
Don't change loading bar color (fix yellow loading bar in Half-Rats Parasomnia, it should be white)
2021-10-31 17:31:03 -07:00
Ivan Avdeev ec7f65462f add the same timeouts to transfersh 2021-10-31 17:27:22 -07:00
Ivan Avdeev b7529fecdd try to address frequent CI timeouts
#169

- Set the total curl upload timeout to one minute. If we're uploading
  for longer than one minute, something is really broken.
- Retry 5 times.
- Max wait 10 seconds for connection to be established.
- If transfer speed is lower than 16KiB/s for longer than 10 seconds,
  abort (this is the most frequent reason for CI stall, xfer speed drops
  to zero and stays that way for hours)
2021-10-31 17:27:22 -07:00
Ivan Avdeev eceb52cee0 add support for studio chrome meshes, fix #149
no support for glow chrome yet.
2021-10-31 17:27:22 -07:00
Ivan 'provod' Avdeev ef15ba5e08 rtx: fix scrolling textures for additive, fix #178 2021-10-31 17:27:22 -07:00
Ivan 'provod' Avdeev 24a07499c5 rtx: implement soft particles for additve, fix #177 2021-10-31 17:27:22 -07:00
Ivan 'provod' Avdeev a8313073d3 rtx: add refractions support, fix #181
Decide whether the ray goes through or reflects based on brdf/fresnel.
Specular always reflects. Diffuse mode chooses between reflecting (GI) and continuing through (refraction). The decision is stochastical with probability being alpha channel (color * texture). Alpha = 0 => full refraction. Alpha = 1 => full reflection.

Lighting is not computed for refractive decision. (not sure if this is fully correct though).

It doesn't look correct all of the time.
Probably we need to split base_color into different channels fo diffuse/lighting and transmissiveness.
2021-10-31 17:27:22 -07:00
Ivan 'provod' Avdeev 3f12a42432 rtx: fix translucent things casting shadows (they shouldn't for now) 2021-10-31 17:27:22 -07:00
Alibek Omarov 6571c78ed4 engine: client: hide late precache warning under s_warn_late_precache cvar
This warn is valid mostly for multiplayer games.
In singleplayer games, this is a false-positive as sentences are hot loaded
2021-10-31 21:06:54 +06:00
Alibek Omarov d1e6063650 ref_gl: add close_gl4es, fix #258 2021-10-31 20:59:20 +06:00
Alibek Omarov 42db1faa51 ref: update ref_gl and ref_soft interface according to previous commit 2021-10-30 21:49:52 +06:00
Alibek Omarov efc156fcf5 engine: ref_api: purposefully moved WorldToScreen to 2D functions from TriAPI, since WorldToScreen is expected to be simpler in-engine version rather than TriAPI one 2021-10-30 21:49:27 +06:00
Ivan 'provod' Avdeev b3465ceb30 rtx: implement additive translucency
fix #170
2021-10-29 12:48:36 -07:00
Ivan 'provod' Avdeev 1c6753d605 rtx: improve payload references between shader stages 2021-10-29 12:48:36 -07:00
Ivan 'provod' Avdeev b7e6581e29 rtx: improve shader binding indexing 2021-10-29 12:48:36 -07:00
Ivan 'provod' Avdeev 24f11bccc7 rtx: add material mode enum, precursor for proper translucency handling
#173
2021-10-29 12:48:36 -07:00
Alibek Omarov 207675990e public: build: fix missing define value 2021-10-28 20:11:31 +03:00
NightFox 29e8cce207 fix #80
thanks zgdump
2021-10-27 23:10:08 -07:00
Ivan 'provod' Avdeev 5e50bdfcf2 rtx: add conveyor scrolling texture, fix #158 2021-10-27 22:48:26 -07:00
Alibek Omarov e8cd6e9d65 engine: build: add RISC-V support(based on @archanox patches), add MIPS64 support 2021-10-27 20:59:02 +03:00
Alibek Omarov ab256e294e public: build: add RISC-V support(based on @archanox patches), add forcing endianness from build system 2021-10-27 20:33:21 +03:00
Alibek Omarov d9fd6aa05c engine: server: restore log functionality from old engine. Thanks to @ValeTheVioletMote for initial patch. 2021-10-27 19:40:05 +03:00
NightFox 0e345ded71 Tuned hack_attenuation default_radius values
More correct lighting
2021-10-26 22:44:21 -07:00
Ivan Avdeev bb4dc5e2a1 rtx: bring back front face culling; update todo 2021-10-26 13:12:25 -07:00
Ivan Avdeev 4f903bd1d6 rtx: add lightstyles support, fix #138 2021-10-26 13:12:25 -07:00
Ivan Avdeev 54a777f0fd rtx: fix env light target direction, fix #128 2021-10-26 13:12:25 -07:00
Vale the Violet Mote 57382c7cea
readme: Linux Build Extended Clarity (#659) 2021-10-26 17:48:04 +03:00
Ivan 'provod' Avdeev dd3f47ea4c fix windows build 2021-10-25 10:17:49 -07:00
Ivan Avdeev e0d0e6393d rtx: add target support for spotlights, fix #128 2021-10-25 10:17:49 -07:00
Ivan Avdeev 539c04cbd1 move map entity parsing into vk_mapents, fix #134 2021-10-25 10:17:49 -07:00
Ivan Avdeev 2687dcde6b throttle dynamic geometry slots message, #133 #132 2021-10-25 10:17:49 -07:00