Magnus Norddahl
|
04b01426e6
|
Add automatic fallback to CPU ray tracing if no vulkan device supports the ray tracing extension
|
2021-11-12 16:17:44 +01:00 |
|
dpjudas
|
d407d73c36
|
Remove unused code
|
2021-11-12 05:11:19 +01:00 |
|
dpjudas
|
f44e73d8d0
|
Fix error when baking a map with no lights in it
|
2021-11-12 05:07:57 +01:00 |
|
Magnus Norddahl
|
9b6cd720dd
|
Update README.md
|
2021-11-11 05:58:48 +01:00 |
|
Magnus Norddahl
|
d6b9ed2e66
|
Update README.md
|
2021-11-11 05:56:15 +01:00 |
|
Magnus Norddahl
|
5035f3671f
|
Adjust usage print slightly
|
2021-11-11 05:52:40 +01:00 |
|
Magnus Norddahl
|
031dc4a4db
|
Move sample distance, bounces and light probe grid size settings to the zdrayinfo actor as they affect map visuals
|
2021-11-11 05:51:00 +01:00 |
|
Magnus Norddahl
|
cd3563759c
|
Rewrite the CPU ray tracer
|
2021-11-11 05:04:33 +01:00 |
|
Magnus Norddahl
|
96b31d8a69
|
Implement light probe tracing on the GPU
|
2021-11-10 02:25:03 +01:00 |
|
Magnus Norddahl
|
43bdb1cbca
|
Improve performance by tracing all lights in one shader
|
2021-11-10 00:37:56 +01:00 |
|
Magnus Norddahl
|
be1a94931b
|
Improve tracing times and remove the map size limitation
|
2021-11-09 19:53:45 +01:00 |
|
Magnus Norddahl
|
0c4199b281
|
Implement bounces and emissive surfaces
|
2021-11-07 23:52:44 +01:00 |
|
Magnus Norddahl
|
8df36944eb
|
Split shaders into three types (light, sun, bounce)
|
2021-11-07 04:05:19 +01:00 |
|
Magnus Norddahl
|
9ce4c027bd
|
Remove unused SurfaceLight class
|
2021-11-06 03:03:07 +01:00 |
|
Magnus Norddahl
|
ca5c48836f
|
Trace sunlight on the GPU
|
2021-11-06 02:51:36 +01:00 |
|
Magnus Norddahl
|
b12f31f182
|
Minor code clean up
|
2021-11-05 23:50:19 +01:00 |
|
Magnus Norddahl
|
9ebe31ee72
|
Remove the old dlight based ray tracer and add an option to choose between the CPU and GPU ray tracers
|
2021-11-05 23:42:01 +01:00 |
|
Magnus Norddahl
|
c7b220c2ba
|
Add surface and sunlight to the new CPU ray tracer
|
2021-11-05 23:31:23 +01:00 |
|
Magnus Norddahl
|
75798fae9b
|
Move glsl shader code to files
|
2021-11-05 18:23:31 +01:00 |
|
Magnus Norddahl
|
973a5b28b7
|
Improve direct light sampling quality
Fix command line argument bug
|
2021-11-05 03:17:06 +01:00 |
|
Magnus Norddahl
|
2efd031fa2
|
Raytrace direct light sources on the GPU
|
2021-11-05 00:19:38 +01:00 |
|
Magnus Norddahl
|
178c918af6
|
Fix closest hit and miss shaders not working
|
2021-11-04 20:24:38 +01:00 |
|
Magnus Norddahl
|
ef4b67ea04
|
Setup images for ray tracing and hook up renderdoc
|
2021-11-04 18:38:33 +01:00 |
|
Magnus Norddahl
|
f42c515b16
|
Oops, this wasn't meant to be committed
|
2021-11-03 23:31:24 +01:00 |
|
Magnus Norddahl
|
b1a06fda5e
|
Successfully call vkCmdTraceRaysKHR without validation errors
|
2021-11-03 23:30:57 +01:00 |
|
Magnus Norddahl
|
0b9705a1d8
|
Minor adjustments
|
2021-11-01 02:55:58 +01:00 |
|
Magnus Norddahl
|
d573f9e907
|
Create the pipeline
|
2021-11-01 02:20:57 +01:00 |
|
Magnus Norddahl
|
df1172346d
|
Remove old NV ray tracing builders
|
2021-11-01 02:20:41 +01:00 |
|
Magnus Norddahl
|
fb86b2054c
|
Move stack trace capture out of gpuraytracer.cpp
|
2021-10-31 19:20:23 +01:00 |
|
Magnus Norddahl
|
5d514f8c4b
|
Compile a rgen shader
|
2021-10-31 18:32:55 +01:00 |
|
Magnus Norddahl
|
edc4b159d0
|
Update shader builder to latest shader compiler version
|
2021-10-31 18:32:33 +01:00 |
|
Magnus Norddahl
|
0e7bb52c19
|
Upgrade glsl compiler to 11.6.0
|
2021-10-31 18:19:26 +01:00 |
|
Magnus Norddahl
|
b06f1b6128
|
Fix vulkan validation errors
|
2021-10-31 03:05:43 +01:00 |
|
Magnus Norddahl
|
ce376eb558
|
Update vk_mem_alloc as the old version did not support all the flags needed for ray tracing
|
2021-10-31 03:05:11 +01:00 |
|
Magnus Norddahl
|
1b29ef02b9
|
Create top level acceleration structure
|
2021-10-31 01:15:49 +02:00 |
|
Magnus Norddahl
|
0065d91f44
|
Build the bottom level acceleration structure using the KHR raytracing extension
|
2021-10-30 03:21:27 +02:00 |
|
Magnus Norddahl
|
a294ca216a
|
Add uncommitted vulkan headers
|
2021-10-30 03:20:46 +02:00 |
|
Magnus Norddahl
|
bbdb312e10
|
Update vulkan headers to 1.2.189.2
Update volk to 1.2.190
|
2021-10-30 01:27:36 +02:00 |
|
Magnus Norddahl
|
3e11f81d5a
|
Add first steps in using the GPU for the ray tracing
|
2021-10-28 23:27:25 +02:00 |
|
Magnus Norddahl
|
410a0e0c7c
|
Add vulkan thirdparty files
|
2021-10-28 23:26:53 +02:00 |
|
Magnus Norddahl
|
47494dd3b2
|
Add a new raytracer that bounces using path tracing
|
2021-10-21 06:31:58 +02:00 |
|
Magnus Norddahl
|
f0c7e5fb9a
|
Merge branch 'master' of https://github.com/dpjudas/ZDRay
|
2021-10-20 05:28:51 +02:00 |
|
Magnus Norddahl
|
fa1d2fb215
|
Prepare the code for writing a new ray tracer
|
2021-10-20 05:28:41 +02:00 |
|
dpjudas
|
fb6cf06771
|
Fix compile error
|
2021-10-17 03:26:48 +02:00 |
|
Magnus Norddahl
|
e5816c7df4
|
Apply a 3x3 blur on the lightmap
|
2021-10-16 04:46:53 +02:00 |
|
Magnus Norddahl
|
c76bf98834
|
Remove sorting light probes by subsector
|
2021-10-15 04:22:04 +02:00 |
|
Magnus Norddahl
|
539bd9fd1d
|
Only create 3 probe layers per sector (covering the entire volume is too many probes)
|
2021-10-15 01:26:32 +02:00 |
|
Magnus Norddahl
|
199d5d7043
|
Remove unused function
|
2021-10-14 17:20:44 +02:00 |
|
Magnus Norddahl
|
a647f21501
|
Add the gzdoom model loaders
|
2021-10-14 17:12:05 +02:00 |
|
Magnus Norddahl
|
8f097378d5
|
Add the delauney triangulator (not used, but I don't want to lose this code in case I decide to use it after all)
|
2021-10-14 15:49:27 +02:00 |
|