nashmuhandes
5bb277ff31
Disable light bounces for now, after some internal discussion pertaining to future improvements
2022-06-15 14:42:02 +08:00
Magnus Norddahl
27a8ef3855
Merge pull request #35 from MrRaveYard/pr_defaults
...
Add default auto probe grid size
2022-06-15 00:27:02 +02:00
RaveYard
f4479a17d5
Add default auto probe grid size
2022-06-14 19:51:05 +02:00
nashmuhandes
a0935ba604
If arg0str is used for a spotlight's color, convert that string to an int and pass that value as the light color. UDB's color picker interface uses the arg0str field for spotlight color.
2022-06-03 02:55:52 +08:00
nashmuhandes
bfb23302ef
- Report sun vector
...
- Various styling fixes to the messages
2022-02-20 08:42:30 +08:00
nashmuhandes
25345c2477
Replace Thing UDMF keys for the ZDRayInfo with args instead
2022-02-20 04:46:19 +08:00
nashmuhandes
05eed4d4a2
Add "line" suffix to the surface light keywords to clearly label their intended usage
2022-02-20 04:28:28 +08:00
nashmuhandes
957d8391b3
Remove Thing lightintensity keys from the README
2022-02-20 04:19:30 +08:00
nashmuhandes
f38995889d
Remove 'lightintensity' UDMF key from Things, replaced it with the Thing's alpha instead
2022-02-20 04:17:45 +08:00
nashmuhandes
20cd01ebad
Remove sun direction keys from ZDRayInfo (the angle and pitch now determines the sun direction)
2022-02-16 07:04:13 +08:00
nashmuhandes
1bd8385b7c
Merge branch 'master' of https://github.com/dpjudas/ZDRay
2022-02-16 06:43:04 +08:00
nashmuhandes
7f822dd250
Use ZDRayInfo's angle and pitch to determine the sun direction
2022-02-16 06:42:33 +08:00
Nash Muhandes
4b59673415
Update README.md
...
Remove the now-unused keys from the static light things
2022-02-16 04:23:51 +08:00
Magnus Norddahl
b42d771e17
Merge pull request #29 from nashmuhandes/ThingKeysToArgs
...
For static light things, have ZDRay use args instead of UDMF keys. Th…
2022-02-15 21:00:44 +01:00
Magnus Norddahl
fda2cef8cc
Merge pull request #28 from nashmuhandes/ReadmeUpdate1
...
Update readme with more information about GPU and CPU baking, and als…
2022-02-15 21:00:29 +01:00
nashmuhandes
3f191651aa
For static light things, have ZDRay use args instead of UDMF keys. This aligns them with dynamic lights, and will help with UDB integration.
...
Only 'lightintensity' remains as a UDMF key, because there is no more free arg slots for it.
Also made constants for the various thing types to reduce coding mistakes.
2022-02-16 02:14:21 +08:00
nashmuhandes
a0b90d554f
Update readme with more information about GPU and CPU baking, and also to clearly distinguish the static point and spotlight types.
2022-02-16 00:30:37 +08:00
Magnus Norddahl
6151efa762
Merge pull request #10 from nashmuhandes/ThingTypeRestrict
...
Only create lights for the actual static light things
2022-02-15 15:30:12 +01:00
nashmuhandes
15b31f0526
Only create lights for the actual static light things
2022-02-15 22:10:32 +08:00
Magnus Norddahl
c5d09682a0
Fix threadIndex mistakenly getting captured by reference
2022-02-15 14:35:32 +01:00
Magnus Norddahl
6729561354
Merge pull request #9 from Talon1024/master
...
Fix GCC compilation errors
2022-01-25 16:48:42 +01:00
Kevin Caccamo
9ae145358f
Fix GCC compilation errors
2022-01-25 10:19:17 -05:00
Magnus Norddahl
0772f148c4
Improve the AO pass
2021-11-25 01:13:53 +01:00
Magnus Norddahl
bde4c60f82
Add an ambient occlusion pass
2021-11-24 03:37:46 +01:00
Magnus Norddahl
583f720007
Limit the number of lights per trace to 50
2021-11-16 02:15:14 +01:00
Magnus Norddahl
95232aedf4
Add progress dots for CPU tracer and streamline how they look
2021-11-16 00:57:06 +01:00
Magnus Norddahl
4cb0f59f66
Minor file structure cleanup
2021-11-16 00:30:54 +01:00
Magnus Norddahl
8b26826cee
Replace zlib with miniz as that is much easier to link with and removes a linker warning
2021-11-16 00:04:05 +01:00
Magnus Norddahl
955632f1f8
Remove worker class
2021-11-15 23:36:29 +01:00
Magnus Norddahl
e61f10af24
Flip surface sort order for better lightmap packing and add some border between the surfaces
2021-11-14 19:54:44 +01:00
Magnus Norddahl
346f71e60a
Improve lightmap atlas and add some more error checks
2021-11-13 04:52:13 +01:00
Magnus Norddahl
5d0fe12221
Align the uniforms as the Nvidia 10 series requires that
2021-11-13 01:06:36 +01:00
Magnus Norddahl
fc56a552fd
Remove the KHR_RAY_QUERY requirement as it isn't being used anyway
2021-11-13 00:43:53 +01:00
Magnus Norddahl
50120b420c
Fix pthread thing, hopefully
2021-11-13 00:20:45 +01:00
Magnus Norddahl
59abd6dd53
Fix build folder path problem
2021-11-13 00:17:59 +01:00
Magnus Norddahl
60e4077209
Fix missing pthread for clang
2021-11-13 00:14:07 +01:00
Magnus Norddahl
cb42f82bfc
Replace the vector/matrix classes with something behaving a bit more like glsl
2021-11-12 22:40:29 +01:00
Magnus Norddahl
6b4fef6a2b
Fix missing normalization of the first plane vector after cross product
2021-11-12 17:00:07 +01:00
Magnus Norddahl
2a91f530c9
Fix some more compile errors
2021-11-12 16:24:27 +01:00
Magnus Norddahl
e54477cb93
Fix linux compile errors
2021-11-12 17:08:15 +01:00
Magnus Norddahl
edc22ed06f
Fix the include error
2021-11-12 16:49:11 +01:00
Magnus Norddahl
581b87a745
Merge branch 'master' of https://github.com/dpjudas/ZDRay
2021-11-12 16:17:52 +01:00
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