Commit Graph

161 Commits

Author SHA1 Message Date
Turánszki János 08a7c73047 gui update: slider value input field always fits text 2021-10-10 17:09:59 +02:00
Turanszki Janos e90672cf2f added system initialization timings; profiler fix; 2021-09-16 00:50:07 +02:00
Amer Koleci d0051dcb5f RHI improvements (#299)
* GPUBufferDesc.ByteWidth is uint64_t, we don't support D3D11 anymore.
AllocateGPU, UpdateBuffer uses uint64_t.
Rename SubresourceData members with better name.
PipelineStateDesc support custom patch control points, default to 3.

* CreateBuffer accepts const void* instead of const SubresourceData.
Cleanup and improve documentation about buffer creations.

* Rename StructureByteStride to Stride.

* GPUBufferDesc rename ByteWidth to Size.

* CreateBuffer: Under D3D12 - USAGE_READBACK use D3D12_RESOURCE_FLAG_DENY_SHADER_RESOURCE flag and honor BIND_SHADER_RESOURCE.
2021-09-06 16:32:25 +02:00
Turánszki János f3687dbf4e DX11 removal, Surfel GI
version 0.57.0:
- DX11 removed, DX12 is default now on Windows
- graphics interfaces improved:
	- Bindless descriptor support is now assumed
	- GPU Buffers with USAGE_UPLOAD and USAGE_READBACK will be persistently mapped after creation
	- Removed Map/Unmap
	- added BindDynamicConstantBuffer helper function
	- improved AllocateGPU helper function
	- GPU Queries resolving can be done directly into GPUBuffer
	- UpdateBuffer now doesn't synchronize internally, this allows batching updates
	- removed support for bindless constant buffers (uniform buffers)
	- BindConstantBuffer will accept offset
	- RESOURCE_STATES refactor, they can be combined now in the barriers
	- many other refactors
- gbuffer normals removed, implemented visibility buffer
- bindless decals, bindless lightmaps, bindless hair particles, bindless software path tracing
- hair particles path tracing support
- path tracing eye adaption supported
- Surfel GI (experimental)
2021-09-05 18:59:03 +02:00
Megumumpkin 40cafdf455 GUI Sort Fix (#278)
Co-authored-by: Megumumpkin <megumumpkin@gmail.com>
2021-07-10 13:02:35 +02:00
Turanszki Janos 6c6f650b1c editor: material window texture slot visualizer 2021-05-30 18:23:04 +02:00
Turanszki Janos d8e9e0ba5a updates, fixes 2021-04-25 12:51:34 +02:00
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 933080a2e4 Unified Shader Compiler (#250) 2021-03-21 18:54:04 +01:00
Turánszki János 9b308941fd sheen and clearcoat (#226)
* sheen and clearcoat

* updated material wnd

* clearcoat works

* sheen updates

* sheen working

* environment reflection alwyas from probe

* restore comment sheen energy conservation

* fixes and gui for sheen and clearcoat

* sheen fix

* ocean, rt reflection fix

* material wnd update

* updated features list
2021-02-01 01:11:30 +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 0c3f100d7f gui improvement: combobox userdata 2020-11-08 17:38:43 +01:00
Turanszki Janos 571f435253 refactor 2020-11-04 16:02:23 +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
Turanszki Janos 967fc3fe66 fix: gui combobox behaviour 2020-10-08 21:41:06 +02:00
Turanszki Janos d26fb18618 added extra controls to sounds in a scene 2020-10-07 22:53:19 +02:00
Turanszki Janos d3b18bc504 gui updates, editor window refactors 2020-10-04 14:24:22 +02:00
Turanszki Janos 695ab45265 gui updates 2020-10-04 01:47:44 +02:00
Turanszki Janos 9819a2e083 gui updates: tooltips can be displayed on inactive element, color picker improvement 2020-10-03 15:45:00 +02:00
Turanszki Janos e2f3b76ad8 gui updates: window placement and colorpicker scaling 2020-10-02 19:56:35 +02:00
Turánszki János 26af9078c9 Vulkan and DX12 fixes (#134)
* renderpass updates, vulkan and dx12 warning removal #78

* lots of fixes
2020-07-08 22:07:45 +01: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
Turanszki Janos 4fcf2020af added linux build 2020-06-13 19:38:49 +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 2f70a2aa8e font renderer update 2020-04-25 15:14:01 +01:00
Turanszki Janos dc6c068f33 added heap allocation counter; reduced string allocations; 2020-04-24 23:48:54 +01:00
turanszkij 57d0cea6e5 updated editor 2020-04-13 22:19:29 +01:00
turanszkij 2ba847cf58 gui update: put newly appearing windows on top 2020-04-11 19:17:15 +01:00
Turanszki Janos 397a34fb64 window widget minimize fix 2020-04-11 13:23:46 +01:00
turanszkij 70a7163639 gui fixes 2020-04-10 20:29:23 +01:00
turanszkij e724ac34df gui fix 2020-04-10 18:03:31 +01:00
turanszkij 69616149e5 gui: blurred transparency and usability improvements 2020-04-10 17:09:04 +01:00
turanszkij e746956c64 paint tool: added texture paint mode 2020-03-29 20:43:32 +01:00
Turanszki Janos 2e0be56129 slider widget update 2020-03-28 14:36:26 +00:00
Turanszki Janos b13cefb756 window widget update 2020-03-28 12:46:49 +00:00
turanszkij c1471f6bac editor: paint tool - added sculpt mode #94; font renderer word wrap; other updates; 2020-03-27 21:22:01 +00:00
turanszkij 730fcd0587 editor: paint tool - vertexpaint, hairlength #94; hairparticle update; 2020-03-26 22:43:20 +00:00
turanszkij 9b0cc2524b transform hierarchy fix #76 2020-03-09 19:55:11 +00:00
Turanszki Janos c9c03b2d48 removed some macro use 2020-03-07 19:25:30 +00:00
turanszkij 8a1b30a766 big refactor 2020-03-02 23:29:06 +00:00
Turanszki Janos 7bd3008398 soft body and debug draw updates 2020-02-29 16:23:14 +00:00
turanszkij 484313989b gui updates 2020-02-24 20:24:26 +00:00
turanszkij 53f5a072cf gui hotfix 2020-02-24 09:59:37 +00:00
Turanszki Janos 6aafe04a43 gui updates 2020-02-23 18:12:58 +00:00
Turanszki Janos 7ccc157906 gui updates 2020-02-22 21:19:15 +00:00
Turanszki Janos 5f3743dc61 gui: combo box scissor fix 2020-02-18 23:09:00 +00:00
Turanszki Janos c53552a0a6 gui improvements: color picker, text input, slider, button 2020-02-18 22:47:46 +00:00
turanszkij 2e0f39935d gui updates 2020-02-18 19:17:06 +00:00
Turanszki Janos 7871937622 added tree list widget, added editor scene outliner (wip) 2020-02-17 18:32:13 +00:00