Commit Graph

142 Commits

Author SHA1 Message Date
Jarrod Doyle a6e4e85470
Fix incorrect rotation on object polys 2024-12-10 21:33:18 +00:00
Jarrod Doyle 2a75e016ef
Fixed underpowered 16 bit lighting 2024-12-10 21:00:39 +00:00
Jarrod Doyle ca3dfa677f
Add basic 16bit lm writing 2024-12-10 20:06:03 +00:00
Jarrod Doyle fc91970c45
Apply brush rotation to base spotlight direction 2024-12-10 19:51:08 +00:00
Jarrod Doyle 29b1c78782
Exclude debug info in build artifacts 2024-12-10 17:53:42 +00:00
Jarrod Doyle b686123e0a
Change to github runners with separate windows and linux jobs
Build / build-linux-x64 (push) Failing after 50s Details
Build / build-win-x64 (push) Has been cancelled Details
2024-12-10 17:48:31 +00:00
Jarrod Doyle 16975f39a1
Downgrade artifact upload actions
Build / deploy (push) Failing after 2m24s Details
2024-12-10 17:38:30 +00:00
Jarrod Doyle c7060ab284
Make linux build single file not NativeAoT
Build / deploy (push) Failing after 49s Details
2024-12-10 17:36:34 +00:00
Jarrod Doyle dd21d435b5
Add build action
Build / deploy (push) Failing after 1m17s Details
2024-12-10 17:32:59 +00:00
Jarrod Doyle f359a19579
Remove AoT from csproj 2024-12-10 17:32:11 +00:00
Jarrod Doyle 06803fa07f
Add light max effective radius method 2024-12-10 16:55:22 +00:00
Jarrod Doyle 9fd33efeed
Add debug stats 2024-12-09 20:49:00 +00:00
Jarrod Doyle ed1b95af35
Properly apply rotation to light offsets 2024-12-09 20:22:49 +00:00
Jarrod Doyle 16dddcb497
Only add sunlight index to cells if sunlight is enabled 2024-12-09 19:03:20 +00:00
Jarrod Doyle df9b21de46
Close #7: Log when too many lights reach cell 2024-12-09 18:40:04 +00:00
Jarrod Doyle 518f387c43
Close #6: Don't add 0 brightness static lights 2024-12-09 18:32:32 +00:00
Jarrod Doyle cb599f24df
Close #1: Finally cracked the colored lighting problem 2024-12-09 18:25:33 +00:00
Jarrod Doyle 00c2d14a06
Make published build AOT and trimmed 2024-12-09 16:04:08 +00:00
Jarrod Doyle 07e7fb1801
Change CLI library 2024-12-09 16:03:27 +00:00
Jarrod Doyle 1b962831a0
Normalise sunlight direction 2024-12-09 15:23:47 +00:00
Jarrod Doyle 7693261cd7
Add the sun to every cell's light list 2024-12-09 15:22:43 +00:00
Jarrod Doyle b34131f3b5
Add sunlight casting 2024-12-09 14:35:53 +00:00
Jarrod Doyle 596ce88215
Make UseSunlight a bool 2024-12-09 14:35:41 +00:00
Jarrod Doyle c2b69cda46
Swap inner and outer pixel tracing loop 2024-12-09 12:28:52 +00:00
Jarrod Doyle 27f8dab8fe
Refactor tracing to separate ray points 2024-12-09 12:04:32 +00:00
Jarrod Doyle 9daaa3b73b
Improve note about door light blocking 2024-12-09 10:27:32 +00:00
Jarrod Doyle 5538a0e3ea
Include door blocking in the cast mesh 2024-12-09 10:09:13 +00:00
Jarrod Doyle adf61c0f6f
Move more meshing to MeshBuilder 2024-12-09 08:37:46 +00:00
Jarrod Doyle a0b287b9fa
Separate some mesh stuff 2024-12-09 08:19:50 +00:00
Jarrod Doyle 39dbede993
More accurate object casting 2024-12-07 18:47:31 +00:00
Jarrod Doyle 1532a2750c
Almost there object casting 2024-12-07 18:28:39 +00:00
Jarrod Doyle 122bd2bfa7
Add immobile and static shadow props 2024-12-07 18:28:07 +00:00
Jarrod Doyle c96a42b883
Add JointPos prop 2024-12-07 17:08:01 +00:00
Jarrod Doyle 8cc64ae1e5
Parse model sub objects 2024-12-07 16:52:05 +00:00
Jarrod Doyle 84c54ce280
Use AABB for a tighter cull of cell light indices 2024-11-29 17:24:03 +00:00
Jarrod Doyle b3a71e6827
Add lightmapped water 2024-11-04 18:39:10 +00:00
Jarrod Doyle 1d96c06032
Add water surfaces to the Embree scene and surface type map 2024-11-04 18:09:39 +00:00
Jarrod Doyle b47a7536c4
Ray traces now continue through any water they hit (unless the water surface is the target) 2024-11-04 18:08:54 +00:00
Jarrod Doyle e6ca952962
Add surface type map 2024-10-30 08:03:26 +00:00
Jarrod Doyle fe100bb938
Change softness mode switch statement to expression 2024-10-29 18:14:44 +00:00
Jarrod Doyle f6bcce9778
Add nine point shadow softness support 2024-10-29 18:13:04 +00:00
Jarrod Doyle 99697180cd
Add support for most of the shadow softness settings 2024-10-29 18:01:50 +00:00
Jarrod Doyle ff91ad567b
Add LmParams parsing 2024-10-29 17:49:03 +00:00
Jarrod Doyle ca017e3f7b
Removed debug print 2024-10-29 07:45:03 +00:00
Jarrod Doyle f5fa373519
Replace System.CommandLine with CliFx 2024-10-29 07:43:32 +00:00
Jarrod Doyle 350a891118
Add basic command line interface 2024-10-28 20:40:06 +00:00
Jarrod Doyle 0ea00fa109
Refactor to LightMapper class 2024-10-28 20:03:20 +00:00
Jarrod Doyle ba31c21b0d
Add fake quad lighting (multisampling) 2024-10-28 19:07:48 +00:00
Jarrod Doyle fdc84a0d81
Clean up TraceRay function and remove old code (should have been in last commit tbh) 2024-10-28 17:50:08 +00:00
Jarrod Doyle 19882dcff2
Even better cell edge shadow clip handling 2024-10-28 08:06:24 +00:00