Ivan 'provod' Avdeev
832b719bed
rtx: remove direct sun sampling attempt
...
apparently there's no singular sun. there are spot_lights (+light_environment) that function like a sun (directional light).
2021-10-20 11:58:53 -07:00
Ivan Avdeev
157af769ff
rtx: add vk_lights_dump command
...
It prints out light clusters debugging info.
2021-10-13 12:27:24 -07:00
Ivan Avdeev
9006d679ec
rtx: associate msurfaces with mleafs
2021-10-13 12:27:24 -07:00
Ivan 'provod' Avdeev
100ba22f0e
rtx: add broken sun sampling
...
i cant into math. sun direction is completely incorrect
2021-09-20 23:35:49 -07:00
Ivan 'provod' Avdeev
fe931fcfd7
rtx: collect d/elights and static entity point lights
...
sample all of them unconditionally for now
2021-09-20 23:35:49 -07:00
Ivan 'provod' Avdeev
fbd8973a6d
rtx: add command to reload rad files, fix #41
...
vk_rtx_reload_rad
2021-09-14 17:47:05 -07:00
Ivan Avdeev
d8ebf5ac33
rtx: add emissive color, remove emissive flag
2021-08-31 11:19:44 -07:00
Ivan Avdeev
8d06058aa4
rtx: add first iteration of material flags support
...
it's clearly suboptimal, but no worries, we'll iterate
2021-08-31 11:19:44 -07:00
Ivan 'provod' Avdeev
00518d3251
rtx: implement dynamic lights
...
track brush models movement and update lights grid clusters with model transform and stuff
also implement animated textures for rtx
and also increase per-cluster lights limits
2021-06-05 12:48:16 -07:00
Ivan 'provod' Avdeev
b1f85a05a4
rtx: make light clusters grid-based
2021-04-16 11:43:37 -07:00
Ivan 'provod' Avdeev
ad7b210228
rtx: improve surface lights
...
use bsp/pvs-based visibility data for acceleration:
+ fps 5 -> 60
- correctness: some areas have too many lights, which ends up culling visible ones too
also fix shadow artefacts
2021-04-12 11:07:41 -07:00
Ivan 'provod' Avdeev
af5e20269d
add persistent model api and use it for brushes
...
this needed for better rtx blas management
2021-04-07 12:11:20 -07:00
Ivan Avdeev
7fe55e6d90
wasuremono
2021-03-28 13:56:46 -07:00