Commit Graph

56 Commits

Author SHA1 Message Date
Turánszki János f1ced24f05 Multi swapchain support (#257)
* multi swapchain draft

* uwp fix

* swapchain resize handling

* swapchain buffercount

* vsync toggle

* tests fix

* update

* everything removed from graphicsdevice regarding global screen params, engine refactor

* added GetSwapChainTexture() function to graphics device; screenshot() now requires swapChain

* linux fix: vulkan device needs window handle for instance creation

* refactor

* removed unused includes

* shader refactor and lensflare fix

* swapchain clearcolor and other refactors

* vulkan: no vector allocation in submit

* tests fix

* refactors

* lens flare canvas size fix

* gui refactor for canvas support

* refactors

* removed global canvas state

* msaa fix

* fixes

* refactor to minimize interface changes

* gui changes

* checkbox fix

* gui fixes

* fixes

* input system will accept window handle

* editor fixes

* refactor and removed resolution related system events

* small editor update

* refactor: renderpath inherits from canvas

* fixed tests duh

* image refactor

* image fix

* removed every using namespace std

* pushconstant fix

* editor: object picking only when necessary

* removed include

* dx12: copy fence waiting performed on CPU

* dx12 copyallocator update

* vulkan: copy allocator with timeline semaphores

* missing include

* dx12 copy allocator update

* refactor

* editor update

* vulkan copy allocator fix

* dx12 update

* vulkan, dx12 fixes

* version bump

* vsync event helper

* documentation update

* updated vulkan, dx12, dxc
2021-04-22 11:36:22 +02:00
Turánszki János 4049947a50 raytraced shadows updates
raytraced shadows separated from object shaders
2021-01-16 16:10:55 +01:00
Turanszki Janos f8e64ae3b5 dx11, dx12, vulkan updates: common samplers, auto samplers, auto root constantbuffers (dx12) 2021-01-15 01:10:07 +01:00
Turanszki Janos 960734e87a physics updates #206 #207
physics debug draw
editor physics updates
2020-12-28 17:21:47 +01:00
Turanszki Janos 0895e4b433 improved specular glossiness workflow; big shader refactor; updated tinygltf version; 2020-12-20 01:29:40 +01:00
Turanszki Janos 8f1690087b small editor update 2020-12-13 18:26:07 +01:00
Turanszki Janos 8b60c1bf4a raytracing updates:
-improved descriptor layouts
-rt reflection vulkan fix
-rt reflection specular fix
-rt shadows sample count adjustment
2020-12-13 16:31:56 +01:00
Turanszki Janos b047e87240 occlusion culling update 2020-12-09 00:50:54 +01:00
Turanszki Janos 1bad51256f added disable albedo debug view;
downsample4x fix;
voxelizer terrain shader fix;
renderpath refactor;
postprocess fix;
2020-12-07 22:22:25 +01:00
Turánszki János 5efe28fdf9 0.51.0 (#200)
* large renderer state refactor;
added subsurface scattering energy conservation;
added emitted particle subsurface scattering;
removed area lights;
optimizations;

* added layerMask support in shaders

* fixed incorrect shadow priority for directional light;
fix point light shadow disconnect;

* fix incorrect shadow assignment
2020-12-07 01:32:44 +01:00
Turanszki Janos 8118fd57cb shadow priority refactor 2020-12-06 02:11:37 +01:00
Turánszki János 180ddc3586 0.49 (#160)
* renderer updates: material shadertype, customshaders

* custom shader updates

* hologram fix

* editor windows refactor

* major gui update:
- gui no longer lifetime manager
- window no longer needs gui to construct
- removed gui constructors/destructors
- rewritten every editor window

* renderer update

* gui hasfocus fix

* editor fix

* renderpath upgrades: hybrid forward-deferred

* fix

* water ripple refactor

* cmake fix

* cmake fix

* renderer fix

* volumetric light fix

* customshader stencilref

* cmake fix

* rtdeferred fix

* editor update

* raytraced shadows denoise

* anisotropic shader

* sss stencil greater

* added cartoon shader

* using precomputed tangents

* added unlit object shader

* importer update

* editor update

* editor fix

* vulkan envmap rendering fix

* terrain shader simplification (normal texture mapping instead of triplanar)

* added subsurface profiles, reduced gbuffer

* denoise disocclusion fallback

* editor fix

* more sorting priority for blend than instancing

* hairparticle culling

* particle updates; font update instancing instead of index buffer; vulkan/dx12 fixes;

* shader fixes

* hairparticle trianglestrip and no cross section

* editor fix

* cam wnd update

* terrain shader fix
2020-10-17 13:17:07 +02:00
Matteo De Carlo 3cd9e77889 WIP: Initial linux support using SDL (#136)
* Initial linux support using SDL

* fixed link error and gitignore

* fix in working directory initialization (windows side)

* Added README_Linux and fixed a few compilation issues in ubuntu

* Rename main to main_Windows in Tests

* Better default renderering backend selector

* Added backlog terminal output on linux

* added asserts on all missing vulkan function call results

* added portable file dialogs

also small tests update and cleanup

* Added Editor compile target

* linux ci

* linux ci

* cmake update

* cmake update?

* cmake

* Editor_Windows fix

* build test

* make

* build tools?

* update

* ubuntu 20.04

* fix?

* cmake

* build

* build?

* package linux build

* updates, bump version

* backslash to forward slash, eof newlines, add portable-file-dialogs license

* xcopy needs backslash duh; update readme;

* copy fix

* updated readme

* readme update

* updated readme

* updated readme

* fix incorrect file encoding linux

* paint tool fix

* linux: add missing shaders

* packaging update

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
Co-authored-by: Turanszki Janos <turanszkij@gmail.com>
2020-10-05 00:03:22 +02:00
Turanszki Janos d3b18bc504 gui updates, editor window refactors 2020-10-04 14:24:22 +02:00
Turanszki Janos 34522e0b5a updated buffer subresource management; other fixes; 2020-09-28 00:33:51 +02:00
Turanszki Janos d3f9a2a1b9 rtao denoiser improvements 2020-09-25 00:24:05 +02:00
Turanszki Janos 256fda93fc variable rate shading tier2 #152 2020-08-30 20:20:24 +02:00
Turánszki János c6f3611439 Event system (#133)
* event system

* more refactor

* fixes

* fixes

* fixes, documentation update
2020-07-04 13:22:11 +01:00
Turánszki János 8ed65ef031 Raytracing API - Vulkan (#130)
* vulkan acceleration structure implementation

* vulkan: optimized resource binding

* dx12 optimizations

* vulkan shadercompiler update

* dx12 raytracing resource binding update

* dx12 descriptor refactor

* dx12 and vulkan updates

* VK_KHR_raytracing

* vulkan acceleration structure fix

* vk acceleration structure fix

* dx12 acceleration structure build fix

* vulkan shader shifts refactor

* vulkan raytracing fixes

* uwp: cannot use dxcompiler.dll for shader reflection

* updated version

* refactors, shader compiler updates

* updated shader build tools

* updated shader compilers

* raytraced shadows

* revert shader model

* try fix shader validate error

* ray traced shadow refactors
2020-06-28 13:34:59 +01:00
Turánszki János 4a11d6a202 Dpi awareness (#109)
* dpi awareness test

* dpi scaling updates

* dpi scaling updates

* missing mouse inputs fix (I hope finally)

* finishing up the dpi branch...
2020-05-05 00:04:38 +01:00
Turanszki Janos 7c8b88b435 editor: MSAA switch fix 2020-04-25 15:29:46 +01:00
Turanszki Janos 7bdcfc14c6 minor updates 2020-04-25 12:41:35 +01:00
turanszkij 57d0cea6e5 updated editor 2020-04-13 22:19:29 +01:00
turanszkij 1516b5cd78 ssr updates #80 2020-03-13 18:36:07 +00:00
Turanszki Janos c9c03b2d48 removed some macro use 2020-03-07 19:25:30 +00:00
turanszkij d95dfa7ef2 stability improvements, fixes 2020-03-07 16:18:23 +00:00
turanszkij 2e0f39935d gui updates 2020-02-18 19:17:06 +00:00
turanszkij 8ee2f97c4a voxel gi update 2019-12-23 13:39:34 +01:00
turanszkij 4c87f6c218 fixed #45 and some other things 2019-11-03 17:11:54 +00:00
turanszkij a5da17dc86 minor updates, fixes 2019-10-23 19:15:52 +01:00
turanszkij 6d8112db37 3D sounds can be placed in scene now; updated editor; added sound3D sample model; 2019-10-06 13:30:29 +01:00
turanszkij 95d5bec746 editor: ray bounce count slider now applies to path tracer 2019-06-04 23:39:28 +01:00
turanszkij 061c780ad9 refactor-part1:
removed rendertarget helpers;
non-static textures in render paths;
wiGraphicsTypes namespace renamed to wiGraphics;
2019-03-08 21:46:28 +00:00
turanszkij 657666a300 bvh visualizer added 2019-02-28 18:33:20 +00:00
turanszkij 557037ccc2 graphicsdevice refactors 2019-02-06 22:52:46 +00:00
turanszkij 0a0d7444e7 user can now select number of indirect bounces for lightmap baking 2018-12-25 16:21:05 +01:00
Turanszki Janos be2595e4f3 refactored high level systems; added some documentation 2018-11-03 13:48:29 +00:00
turanszkij e1aaab09a3 optimize, refactor 2018-09-25 17:56:07 +01:00
turanszkij 61e2e3addd wiRenderer moved to namespace (finally...) 2018-09-22 14:15:44 +01:00
turanszkij ecea9f086d simplified transform component;
resurrected hair particle + added editor window
2018-09-12 18:34:54 +01:00
turanszkij a897ec4f75 general system refactors, updates 2018-08-20 20:54:02 +01:00
turanszkij 6f66c2c75a editor updates 2018-08-19 13:54:06 +01:00
turanszkij 9c99764e46 update: armature picking 2018-08-19 13:39:39 +01:00
Turanszki Janos f45f08e8ee mipgen updates 2018-08-06 23:37:03 +01:00
turanszkij 873cf6f2bf system update: camera proxy blending; editor update 2018-05-25 14:01:55 +01:00
turanszkij 631853ab38 alpha composition effect setting moved to renderer 2018-03-16 17:36:14 +00:00
turanszkij b0fe1a89c5 voxel gi tweaks, refactor 2018-03-02 13:08:08 +00:00
turanszkij bdc94060c6 voxel GI quality update + refactor, annotate 2018-02-28 16:31:43 +00:00
turanszkij ed8f7162e3 updates to voxel GI 2018-02-26 17:42:47 +00:00
turanszkij 569723b3f2 updated transparent shadow maps, added refraction caustics 2018-01-15 17:18:22 +00:00