Commit Graph

2985 Commits

Author SHA1 Message Date
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
Turánszki János d13e05b5f3 lightshaft fix when camera is far from origin 2021-12-27 00:13:16 +01:00
Turánszki János f84591a089 motion blur shutter speed fix 2021-12-23 15:25:21 +01:00
Turánszki János 9985b76c9d vulkan: added support for dynamic uniform buffers 2021-12-22 13:31:27 +01:00
Turánszki János 6cc5388e68 loadmodel fix: code already relied on initial scene update 2021-12-22 12:47:17 +01:00
Turánszki János 4d73689877 multithreaded hierarchy update system 2021-12-22 00:44:10 +01:00
Turánszki János 0cbef79a78 added fast path for loadmodel when no transformation or parenting was requested v0.60.4 2021-12-21 09:24:46 +01:00
Turánszki János 7823d71f3e fixes 2021-12-19 18:19:14 +01:00
Turánszki János 0fdc67dcd0 DX12 custom root signatures (#372)
* dx12: abandoned shader reflection, added support for custom root signatures, removed dxcompiler dependency

* removed dll copies from build scripts

* update

* updates

* updates

* fix

* update

* update

* updates

* added custom root signatures to some passes

* fix

* updates

* comment fix

* allow shaders to not have root signatures, if they are part of a pipeline which has root signature for an other shader

* root signature optimizer

* batched descriptor null initializer

* shader updates

* update

* put the atmospheric sky update to async compute

* improved debug of root constant - push constant data size mismatch

* bitwise root param iteration

* added superluminal perf api

* performance api will be optional

* async updaterenderdata fixes

* fixes

* fixes

* occludee update

* raytraced reflection implementation with ray query instead of rt pipeline

* alwaysactive

* shadercompiler enable old d3dcompiler because why not, it's only loaded on demand now

* removed common sampler api

* root signature simplification

* fixes

* linear allocator fix

* push constants are now immediately set

* fixes

* version

* fix?

* improved descriptor allocator

* default sampler table reduction

* gpu sort lib push constants

* small update

* descriptor allocator safety

* shader compiler refactor

* some optimizations
2021-12-19 15:53:18 +01:00
Turánszki János c4c582d739 general improvements (#368)
* custom implementation for wi::vector

* fix

* sdl vulkan fix

* linux fix

* fix

* vector fix

* shader compiler and job system will be initialized automatically on first use

* vector improvements

* updates

* update

* network and audio will be auto initializing on first use only

* fix

* for now, use std::vector

* vector refactor minor

* backlog: access safety

* shader clearcoat fix

* gui initialization on demand

* initializer updates

* job system will be explicitly initialized
2021-12-09 18:58:27 +01:00
Amer Koleci bb2fae64b0 Add SetDepthBounds. (#371)
* RHI: Add SetDepthBounds.

* Rename SetDepthBounds as BindDepthBounds, add depth_bounds_test_enable in DepthStencilState and manage on D3D12/Vulkan side.

* ENH: Add DEPTH_BOUNDS_TEST capability and check across backends.
2021-12-07 12:25:42 +01:00
Turánszki János 67eb9dd66f raytracing: expose filtering with layer masks 2021-12-04 16:48:12 +01:00
Turánszki János 74cb74d3c9 version 0.60 (#367)
- namespace refactor (example: wiGraphics:: -> wi::graphics)
  - provided namespace compatibility macro for old user code: WICKEDENGINE_BACKWARDS_COMPATIBILITY_0_59
- resource manager will return `Resource` instead of `shared_ptr<Resource>` objects
- MAD shader optimizations
- implemented alpha to coverage with alpha tested materials when MSAA is enabled
- alpha testing fix with transparent shadow maps
- TLAS and scene buffers will be recreated less frequently when things get added/removed from the scene
2021-12-03 21:22:27 +01:00
Turánszki János 16d9a8de74 common improvements (#366)
- std container replacements for vector, unordered_map, unordered_set
  - unordered_map and unordered_set replaced with ska::flat_hash_map
  - vector replacement is still std::
- unordered_map performance test (std:: vs ska::)
- backlog improvements
- wiArchive improvements
- editor: added option to dump scene to C++ header file
- common improvements, refactors
2021-11-28 22:12:05 +01:00
Turánszki János 3a08a2bfc6 editor: fixed subset selection when selecting from scene graph view 2021-11-26 17:15:10 +01:00
Turánszki János 8e8dfb1bb4 editor: subset and subset material selection from mesh window 2021-11-26 17:03:11 +01:00
Turánszki János 4777246989 common refactors (#364)
* common refactors:
- DirectXMath only included in wiMath.h instead of CommonInclude.h
- cleanups in CommonInclude.h
- lua math refactor
- generic allocator refactor

* FLT_MAX to numeric_limits

* linebreak

* comment fix

* allocator fix

* more math refactors

* removed wiContainers, renamed wiAllocators to wiAllocator, moved ThreadSafeRingBuffer to wiAllocator
2021-11-26 13:45:11 +01:00
Turánszki János 146e88f866 wiArchive improvements: (#362)
- strings will be written without terminator
- ability to open from memory mapped pointer
- ability to save into header file
- refactors, comments
2021-11-25 18:16:17 +01:00
Matteo De Carlo 08c1046214 Added Focus events on SDL editor (#363)
* Added Focus events on SDL editor

* Shaders are symlinked instead of copied in the build folder (cmake)
2021-11-25 16:50:09 +01:00
Turánszki János 57e1ed37e4 temporal effect fixes 2021-11-25 00:29:53 +01:00
Turánszki János c25e62a1dd fixes uninitialized temporal history 2021-11-24 20:55:41 +01:00
Turánszki János ce1b85923f fix for particle mesh shader 2021-11-21 20:18:01 +01:00