Commit graph

1302 commits

Author SHA1 Message Date
HarrievG
faa9207d01 - Fixed GLTF Mesh -> Polygon Mesh creaton 2022-06-10 10:27:17 +02:00
Robert Beckebans
c0a5f1233d Fixed collision detection and shading 2022-06-09 10:51:20 +02:00
Robert Beckebans
c576583b28 Don't add indices from other polygons 2022-06-08 23:06:17 +02:00
Robert Beckebans
c74ed79e8d Support the Valve 220 texture projection in MapPolygonMesh::ConvertFromBrush() 2022-06-08 21:34:04 +02:00
Robert Beckebans
9216f47572 Automatically remove map collision .cm, .bcm files before running dmap 2022-06-08 21:12:38 +02:00
Robert Beckebans
86b94dc8be Crashfix: Don't refesh the screen using prints during engine shutdown. 2022-06-08 21:10:36 +02:00
Robert Beckebans
4e0199b75c Entity glTF2 Y-Up -> Doom coord conversion 2022-06-07 22:48:36 +02:00
Robert Beckebans
e095e95173 glTF2 -> dmap triangulation bugfixes 2022-06-07 22:39:16 +02:00
Robert Beckebans
e86a8d1734 Crash fix when closing the engine 2022-06-07 22:04:43 +02:00
Robert Beckebans
d69db4ebad Fixed rebase conflicts 2022-06-06 17:36:18 +02:00
Robert Beckebans
c3098186b5 Small glTF2 coords change 2022-06-06 17:24:47 +02:00
Robert Beckebans
24845c7edf gltf2 -> idMapFile fixes. dmap and map commands work
# Conflicts:
#	neo/idlib/containers/List.h
2022-06-06 17:24:47 +02:00
HarrievG
50bb904e22 [!] compile fix 2022-06-06 17:24:38 +02:00
HarrievG
e19e4f2b05 Update Model_local.h 2022-06-06 17:24:38 +02:00
HarrievG
c1c5917cda + id style gltf2 parser
+ initial attempt to dmap glb/gltf
[!] added blend file and glb for debugging purposes

# Conflicts:
#	neo/idlib/containers/List.h
2022-06-06 17:24:37 +02:00
Robert Beckebans
eb08cd9c40 Small glTF2 coords change 2022-06-06 17:19:45 +02:00
Robert Beckebans
60c990c1d9 gltf2 -> idMapFile fixes. dmap and map commands work 2022-06-06 16:13:32 +02:00
Robert Beckebans
70dee3a79c WIP non-compiling GPU skinning fixes 2022-06-06 13:21:14 +02:00
HarrievG
c73ba4e5b1 [!] compile fix 2022-06-06 01:22:55 +02:00
HarrievG
8981441237
Update Model_local.h 2022-06-06 01:00:36 +02:00
HarrievG
331d14567d + id style gltf2 parser
+ initial attempt to dmap glb/gltf
[!] added blend file and glb for debugging purposes
2022-06-06 00:53:44 +02:00
Robert Beckebans
e1bbf4bf28 Fixed chromatic aberration on right/bottom screen corners 2022-06-05 12:03:56 +02:00
Robert Beckebans
c0dd85bb80 Fixed rendering of FFmpeg, Binkdec videos and Doomclassic modes #648 677 2022-06-04 13:37:00 +02:00
Robert Beckebans
987085a247 More shader syncing with SP branch 2022-06-04 11:14:48 +02:00
Robert Beckebans
a97c92b6a5 Separate bind set for material textures in the light passes to avoid allocation problems #676 2022-06-03 18:47:02 +02:00
Robert Beckebans
f67360bc06 Fixed lightgrid and envprobe debug drawing #662 2022-05-29 16:45:12 +02:00
Robert Beckebans
d3382b03e2 Outcommented broken SMAA and MSAA options 2022-05-29 15:51:07 +02:00
Robert Beckebans
461001d5c0 Fixed filmic post processing #661 2022-05-29 15:11:12 +02:00
Robert Beckebans
94fea5c38c Possible FBO mem leak fix #664 2022-05-29 12:14:26 +02:00
Robert Beckebans
592d587228 Fixed failed PSO bug with blend lights 2022-05-29 12:07:49 +02:00
Robert Beckebans
ef72010b01 Fixed problem with spot light projections #673 2022-05-29 11:20:43 +02:00
Robert Beckebans
1d62816a77 Fixed most annoying compiler warnings on Linux 2022-05-19 16:47:24 +02:00
Robert Beckebans
547bffce82 Fixed r_showPortals 2022-05-16 19:45:34 +02:00
Robert Beckebans
b109fc7a3e idRenderBackend::DBG_ShowDebugLines works correctly 2022-05-14 10:51:19 +02:00
Robert Beckebans
cc11531f8d Fixed failed graphics state if vertex_color shader is called 2022-05-14 10:18:08 +02:00
Robert Beckebans
5177b3b121 r_showSurfaceInfo works 2022-05-13 23:07:59 +02:00
Robert Beckebans
1e4a07c41c r_showSurfaceInfo almost works 2022-05-13 21:42:00 +02:00
Robert Beckebans
478dfdf262 WIP integration of fhDoom debug line rendering 2022-05-11 21:35:25 +02:00
Robert Beckebans
f1139f7a33 Fixed unknown event 772 error on Linux 2022-05-09 14:07:19 +02:00
Robert Beckebans
17e865ae2c Fixed UI clipping bugs #669 2022-05-07 22:32:21 +02:00
Robert Beckebans
1c4968a873 Compile shaders to renderprogs2, removed motion_vectors.*.hlsl 2022-05-07 18:57:25 +02:00
Robert Beckebans
c6735ce1df Tweaked presets for Windows ARM 2022-05-01 21:36:06 +02:00
Robert Beckebans
c43a957a3f Removed obsolete .bat file 2022-04-29 18:09:24 +02:00
Robert Beckebans
f792b68ba6 Merge branch '635-nvrhi2-arm' into 635-nvrhi2 2022-04-29 17:52:48 +02:00
Robert Beckebans
ac8171f258 Cleanup 2022-04-29 17:51:58 +02:00
Robert Beckebans
a7d0b8d9e7 Astyle 2022-04-29 17:28:48 +02:00
Robert Beckebans
c2eeb037d9 Merge remote-tracking branch 'CodeLikeCXK/635-nvrhi1' into 635-nvrhi2-arm 2022-04-29 17:27:51 +02:00
Robert Beckebans
0928018a00 Added renderdoc API header 2022-04-29 17:27:30 +02:00
CodeLikeCXK
8520b23a56 Add windows arm support (without optimization). To do list: implement Neon 2022-04-28 18:48:17 +08:00
Robert Beckebans
ea296d884d Don't call ResizeFramebuffers() during bake commands! 2022-04-23 18:48:55 +02:00
Robert Beckebans
43b3375da7 bakeEnv* and bakeLightGrids partially work 2022-04-23 16:34:22 +02:00
Robert Beckebans
0c866655f8 Don't render motion vectors if standing still 2022-04-20 12:05:47 +02:00
Robert Beckebans
39227f1559 Improved TAA jittering 2022-04-20 10:54:25 +02:00
Robert Beckebans
a7623165b5 Fixed TAA jittering bug 2022-04-19 21:56:30 +02:00
CodeLikeCXK
800cd210f9 Fix UTF-8 BOM error 2022-04-19 21:28:26 +08:00
Robert Beckebans
51405a3e8f Simplified screenshot garbage. Closes #652 2022-04-16 16:29:17 +02:00
Robert Beckebans
54d30bbd05 Skip hands + view weapons for motion vectors 2022-04-14 14:43:14 +02:00
Robert Beckebans
6cd2b98491 TAA is working. Fixed wrong output resolution 2022-04-13 22:05:05 +02:00
Robert Beckebans
d078ada2d8 Changed the motionBlur shader to draw motion vectors 2022-04-13 12:35:00 +02:00
Robert Beckebans
2e363d6f99 Exposed TAA parameters to cvars 2022-04-12 19:24:53 +02:00
Robert Beckebans
ca1c1019d0 Less flickering 2022-04-12 18:29:55 +02:00
Robert Beckebans
1279a27a43 Copied TAA from Donut framework 2022-04-12 18:15:48 +02:00
Robert Beckebans
024ad532e2 Make shadow atlas optional for perf comparison 2022-04-09 14:58:31 +02:00
Robert Beckebans
ca6b434a63 Fixed r_skipShadows and removed r_logFile 2022-04-02 12:33:58 +02:00
Robert Beckebans
0d9d13d6f0 Fixed shadow plopping effects and reeanbled vogel disk sampling 2022-04-02 11:57:33 +02:00
Robert Beckebans
51db69a19f Use slower but more stable bin 2d packing for now 2022-04-01 19:54:09 +02:00
Robert Beckebans
b9ceae755e Fixed missing graphics state updates if the viewport changes 2022-04-01 19:19:25 +02:00
Robert Beckebans
45b75aa623 Bumped r_shadowMapAtlasSize to 16384 2022-04-01 17:38:52 +02:00
Robert Beckebans
f6fd593c72 Added faster Quad Tree for rectangle packing 2022-04-01 17:10:53 +02:00
Robert Beckebans
d6a43278db Don't use atlas for interactions that didn't fit into the atlas 2022-04-01 13:55:34 +02:00
Robert Beckebans
98368669fa Shadowmap atlas is working if there are not too many lights 2022-03-31 22:45:29 +02:00
Robert Beckebans
c0e4082651 Use shadow atlas for interaction rendering 2022-03-31 22:07:05 +02:00
Robert Beckebans
63fe4a167a Sort and render shadows into shadowmap atlas 2022-03-31 18:42:52 +02:00
Robert Beckebans
52545c8230 Shadow atlas preparations 2022-03-30 12:19:06 +02:00
Robert Beckebans
361c0292ec Added missing tonemapping vertex shader 2022-03-30 12:13:43 +02:00
Robert Beckebans
77a73a2cd2 Fixed compile and runtime problems 2022-03-30 12:09:22 +02:00
Robert Beckebans
a18d2609ce Merge branch 'master' into 635-nvrhi1 2022-03-30 12:08:40 +02:00
Robert Beckebans
b4077053bb Added missing TonemapPass.h/cpp files 2022-03-29 15:26:16 +02:00
Robert Beckebans
144ce1dab9 Disabled FullscreenFXManager::Process() post processing effects #647 2022-03-29 15:25:25 +02:00
Robert Beckebans
cf128e42c8 Fixed total frame GPU time query 2022-03-24 19:28:10 +01:00
Robert Beckebans
4e776840d9 Implemented NVRHI timer queries 2022-03-24 18:22:41 +01:00
Robert Beckebans
ff29a5dbd4 Perf: Only write constant buffer if it has changed 2022-03-23 21:13:06 +01:00
Robert Beckebans
62429d8f46 Optimized perf by fixing several issues with the GPU<->CPU syncing 2022-03-23 20:22:05 +01:00
Robert Beckebans
d4f1d99bd7 Some work on GPU Skinning and Vulkan debugging 2022-03-22 20:46:44 +01:00
Robert Beckebans
fe80d08eb0 Fixed crash with NVRHI context 2022-03-22 12:05:11 +01:00
Robert Beckebans
51d317543c Sync NVRHI branch by SP 2022-03-22 11:16:44 +01:00
Robert Beckebans
ccd5086d20 Attempt to implement DrawStencilShadowPass 2022-03-16 17:43:55 +01:00
Robert Beckebans
51294e6549 Small vertex cache cleanup 2022-03-16 15:24:08 +01:00
Robert Beckebans
00612732d4 Fixed mirrors 2022-03-16 13:32:19 +01:00
Robert Beckebans
24853acc45 GL_State cleanup. Fixed most GUI rendering problems 2022-03-16 12:20:58 +01:00
Robert Beckebans
0eb9b97471 Trying to use default samplers for all unknown material stages 2022-03-15 18:57:47 +01:00
Robert Beckebans
85ff5d2a66 Use FataError for NVRHI errors so we get an small info window later on 2022-03-15 17:06:36 +01:00
Robert Beckebans
07bef6e114 Fixed linear RGB -> sRGB gamma ramp after tone mapping 2022-03-15 16:58:07 +01:00
Robert Beckebans
91ae3aa3ed Sync NVRHI branch by SP 2022-03-15 11:41:56 +01:00
Robert Beckebans
c336da5ffd Optimized ShadowMapPass 2022-03-14 19:20:23 +01:00
Robert Beckebans
69a27458a0 Fixed Imgui rendering 2022-03-14 16:34:38 +01:00
Robert Beckebans
274766f5d5 Mars City 1 works, disabled Binding/Sample Caches 2022-03-14 14:00:42 +01:00
Robert Beckebans
59349e88f3 Removed obsolete samplers from lightgrid/envprobe shaders 2022-03-14 10:47:20 +01:00
Robert Beckebans
851e8179bb Fixed binding layout for bumpyenvironment shaders 2022-03-14 10:03:13 +01:00
Robert Beckebans
fd7802dfb4 Sync NVRHI branch by SP 2022-03-14 10:00:30 +01:00