Commit Graph

3006 Commits

Author SHA1 Message Date
Turánszki János 4ddd09ab12 fix: missing NonUniformResourceIndex 2022-03-01 00:15:32 +01:00
Turánszki János 25700bf8f3 fix: index buffer barrier 2022-02-28 19:20:29 +01:00
Turánszki János 97b1ca555c improvements 2022-02-28 10:40:11 +01:00
Silas Oler 64888647b0 Traced Reflection Improvements (#395)
* Traced Reflection Improvements

* bilateral shader compiler fix

* hierarchy shader compiler fix

* Use texture_depth in hierarchy

* Bilateral pass output fix & surface pass early exit

* rtreflection fix: missing push constants after shader change

* normals signedness fix

* version bump

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2022-02-27 12:15:31 +01:00
flipdp 6a928eb980 SDL SetPointer support (#394)
Added SDL SetPointer support and changed mouse delta calculation
2022-02-22 14:14:10 +01:00
Turánszki János 54d11f1e91 cpu performance optimizations (#393)
* cpu performance optimizations:
- mapped buffer explicit writes
- render queue sorting
- object update system
- primitive intersections
- job system
- spinlock _mm_pause()

* intrin.h -> emmintrin.h

* linux build fix scoped_lock

* shader material structure compaction

* job system update

* explicit writes in font renderer and entity update

* removed previous frame transform component, from now on it's only stored object in gpu buffers

* don't get instance buffer descriptor index inside render loop

* subset gpu data update explicit write

* job system: multiple queues, work stealing
2022-02-21 11:30:22 +01:00
Amer Koleci 9a0006ceef Update vma to latest version (#391)
* Update vma to latest version and use new VMA_MEMORY_USAGE_AUTO

* vulkan: avoid read from uncached memory

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2022-02-19 15:09:01 +01:00
Turánszki János 406d24d031 updated to visual studio 2022 (#392)
* updated to visual studio 2022

* github actions fix
2022-02-19 12:54:52 +01:00
Turánszki János 072b4a8582 paint tool shader fix 2022-02-15 18:57:23 +01:00
Turánszki János 41e3f56e88 editor: undo/redo fix 2022-02-15 01:00:43 +01:00
Turánszki János e599f40664 editor: undo/redo improvements; also added cut to Ctrl+X; 2022-02-13 00:28:17 +01:00
Turánszki János ab75435c41 editor: undo-redo and recursive selection improvements; 2022-02-12 01:31:33 +01:00
Turánszki János 9ebac82454 entity_serialize robustness improvements; entity_remove recursive support; 2022-02-11 00:08:57 +01:00
Turánszki János 6408341827 editor: uwp asset copies moved out of common source file 2022-02-09 23:05:59 +01:00
Turánszki János 42649c47d5 added ClearUAV to graphicsdevice;
dx12: using DiscardResource for undefined resource state;
dx12: optimized setting scissor rects and viewports;
rtshadow, rtao resource initialization fixes;
2022-02-05 13:33:47 +01:00
Turánszki János 5760191679 updated credits 2022-02-05 10:06:06 +01:00
Turánszki János 6b8cf84c47 raytraced ao ACCEPT_FIRST_HIT_AND_END_SEARCH 2022-01-28 18:31:43 +01:00
Turánszki János 6a855b6a3b raytraced shadows ACCEPT_FIRST_HIT_AND_END_SEARCH 2022-01-28 18:20:23 +01:00
Turánszki János 743c244960 raytraced shadows front face culling 2022-01-28 17:39:50 +01:00
Turánszki János 5b02548268 ddgi probe offsets 2022-01-23 18:48:50 +01:00
Turánszki János ff8a317e17 software raytrace: correctly handle backface lighting 2022-01-22 21:29:57 +01:00
Turánszki János 2b895c38da surfel gi minor fix 2022-01-22 17:36:30 +01:00
Turánszki János 0ee555e4b3 removed leftover code 2022-01-22 17:17:59 +01:00
Turánszki János e350dc3716 Surfel GI updates (#388)
* surfel gi updates; raytracing backface lighting fixes;

* renderer updates
2022-01-22 17:14:30 +01:00
Turánszki János 5cb4baa1ff ddgi update 2022-01-20 14:29:18 +01:00
Turánszki János a4580ea2b0 DDGI (#386)
* start ddgi implementation

* update

* updates

* update

* ray data packing

* removed comment

* update

* features.txt

* ddgi disabled by default

* added comments

* comments

* offlineshadercompiler

* updates
2022-01-19 13:19:14 +01:00
Amer Koleci 90774276df Improvements (#387)
* ThirdParty: Update vulkan headers to 1.2.203, update volk and vma as well.

* Update VMA integration with recent changes.
Update D3D12MA.

* D3D12: ID3D12PipelineLibrary support, had to disable due to bug from NVIDIA drivers: https://forums.developer.nvidia.com/t/usage-of-id3d12pipelinelibrary-triggers-device-remove-when-using-library-loaded-from-disk/199967

* Graphics: Add ValidationMode enum and use in D3D12 and Vulkan backends.
2022-01-17 21:52:41 +01:00
Turánszki János e55423d26a surfel gi boost fix 2022-01-15 15:25:38 +01:00
Turánszki János ddd276d0ac surfel gi improvements, added boost setting 2022-01-15 13:51:17 +01:00
Turánszki János 7c8526bd3e editor: paint tool sculpt mode uses pick normal instead of average 2022-01-14 18:03:46 +01:00
Turánszki János 5bbf9662fe pick normal fix 2022-01-14 18:03:03 +01:00
Turánszki János eba0baca3a editor: paint tool sculpting mode improvements 2022-01-14 00:19:11 +01:00
Turánszki János 10df64cb39 surfel gi debug refactor 2022-01-13 19:52:22 +01:00
Turánszki János e2c192063c surfel gi: better way to choose debug visualizations 2022-01-12 21:36:12 +01:00
Turánszki János 4599af7faa mesh wireframe fix 2022-01-12 11:25:05 +01:00
Turánszki János 0355104b8b editor: emitter viscosity slider update; emitter_fluid asset update; 2022-01-12 10:31:08 +01:00
Younes 9e8e6069c5 Use correct smoothing kernel for viscosity force calculation (#384)
* Use correct smoothing kernel for viscosity force calculation

* Following struct packing rules
2022-01-12 10:18:16 +01:00
Turánszki János f3635c243b dx12 fix 2022-01-10 14:57:43 +01:00
Turánszki János e353ac3481 gltf import: additional data types support 2022-01-10 09:51:47 +01:00
Turánszki János 5076826906 gltf import: implemented additional vertex color types 2022-01-10 09:37:48 +01:00
Turánszki János cc2ca6a433 scripting updates and new sample scripts 2022-01-09 21:29:16 +01:00
Turánszki János d259baf9e7 Commandlist refactor (#385)
* removed hard coded command list count

* commandlist has internal_state pointer now instead of an index

* BeginCommandList thread safety

* refactor

* acceleration structure builds will not allocate after warmup

* refactors, fixes

* vulkan fix

* fix
2022-01-09 16:57:42 +01:00
Turánszki János cf08a3b03b updated credits 2022-01-08 12:18:23 +01:00
Turánszki János 60ab37ed19 emitter sorting precision improvement 2022-01-03 23:45:31 +01:00
Turánszki János aaa24829dc documentation update 2022-01-03 23:37:08 +01:00
Turánszki János 700944f9f9 small updates 2022-01-03 18:52:59 +01:00
Turánszki János de121b32e6 lua globals fix 2022-01-02 19:55:47 +01:00
Turánszki János d586b43a82 added configuration for emitter restitution property;
added emitter_depthcollision_test.wiscene
2021-12-30 14:28:07 +01:00
Turánszki János 563d5271da minor water ripple update 2021-12-29 23:33:23 +01:00
Turánszki János 2e94230c52 readme update 2021-12-28 12:33:21 +01:00