Commit Graph

63 Commits

Author SHA1 Message Date
Turánszki János 18108223df Terrain Virtual Texture (#422) 2022-05-02 10:34:27 +02:00
Turánszki János 604140ad85 Procedural Terrain (#408)
0.60.50:
- Added procedural terrain generator (for now this is Editor only preview version)
- Added LOD (Level Of Detail) support
- Added LOD Generator to Editor (Mesh Window -> LOD Gen), uses the meshoptimizer library
- Editor can merge multiple objects now into one mesh (Mesh window -> Merge Selected)
- Ocean: added occlusion culling support to detect when ocean is occluded
	- can skip planar reflection render for ocean
	- can skip ocean simulation
	- can skip ocean rendering
- CPU ray tracing optimization: TMin and TMax parameter
	- can improve Ray-AABB and Ray-Triangle tests
	- improves performance of third person character controller script
- other fixes
2022-04-10 11:42:10 +02:00
Turánszki János 313fd0cd43 terragen and physics fixes 2022-03-10 12:30:07 +01:00
Turánszki János f49ecdb60e Rendering Updates (#400)
* surface load updates

* ssr update

* rtao update

* raytracing updates

* ssr removed surface shader, visibilityresolve now resolves additional params

* surfel uid validation refactor

* msaa fix

* update

* update

* picking normal fix

* ray cone improvements

* rtreflection raycone improvement

* visibility resolve fast path

* comment update

* shadow mask fixes for planar reflection

* unrolled mesh and subset into shadergeometry buffer

* shadergeometry refactors

* interleaved uvset vertex buffers

* render queue sorting only for transparent and prepass rendering

* refactors

* refactors

* dx12, vulkan: draw-indirect-count implementations

* surface.load instance color fix

* surface.load instance emissive color

* profiler fix
2022-03-06 16:46:52 +01:00
Turánszki János a1833c9639 graphicsdevice: descriptor format change; indexbuffer merged into general buffer; 2022-03-01 20:18:58 +01:00
Turánszki János daa0f21681 combined mesh vertex buffers into one resource and refactors 2022-03-01 15:10:19 +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 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 100e6b6c97 Basis Universal (#313)
* added basis-universal library and KHR_texture_basisu gltf support

* fix

* added basisu license

* added basis transcode;
added basis encode;
added ktx2 encode;
resource manager file types query;

* added BC decompressor

* added lightmap compression BC6;
added DirectXTex BC libs;

* version bump

* removed directxtex, using simpler lightmap compression instead

* fix

* added ktx2 conv button; normal maps fix;

* don't rely on zero-initialization of graphics resources

* don't always enable vrs classification
2021-09-19 17:07:12 +02:00
Turanszki Janos 71314f3941 editor: added mesh optimizer 2021-06-12 16:49:56 +02:00
Turanszki Janos f8a8c61b63 wireframe tessellation update 2021-06-07 20:48:06 +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
Turanszki Janos 02c9d0335d improved scene gpu buffer updates 2021-04-05 00:06:38 +02: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
Turánszki János 2478e8108a 0.52.0
* velocity buffer is now written by prepass

* major refactor

* critical fix

* fixes

* water fix

* tessellation rewrite

* vulkan: flip viewport instead of -fvk-invert-y
2021-01-19 01:52:40 +01:00
Turanszki Janos cfcf71f051 editor fix 2020-12-29 21:21:34 +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 501fe734c9 editor: added delete impostor button 2020-11-09 20:37:32 +01:00
Turanszki Janos 1f14b1d80f apply morph target normals, better morph updating 2020-11-07 12:44:12 +01:00
XthemeCore 2559f88c2e Add Morph Target (#180)
Support both glTF 2.0 and wiscene format.
2020-11-06 20:12:51 +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 d3b18bc504 gui updates, editor window refactors 2020-10-04 14:24:22 +02:00
Turanszki Janos 2f659443ba use thread safe events for file picker 2020-07-22 21:04:27 +01:00
Turanszki Janos df4bd55ba1 UWP platform updates 2020-05-09 18:48:14 +01:00
turanszkij cf2b24e78d terrain generator also creates generic uv sets 2020-04-11 19:39:16 +01:00
turanszkij bda4956a5e terrain update: emissive #104; added hairparticle sprite sheet support 2020-04-09 00:41:27 +01:00
Turanszki Janos 75657a188d terrain updates #104 2020-04-08 00:10:06 +01:00
turanszkij fb0d3c2f20 terrain and sculpt tool update #104 2020-04-07 00:07:27 +01:00
turanszkij aa96b42bd7 terrain #104 2020-04-05 22:11:58 +01:00
turanszkij 8b059485fe editor: paint tool (softbody, hairparticle) #94;
editor: undo fix with rotation, scale operations;
debug draw updates;
2020-03-26 00:45:12 +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 d95dfa7ef2 stability improvements, fixes 2020-03-07 16:18:23 +00:00
Turánszki János f6a0cecbc9 Device upgrade (#91)
* safety commit

* all seems working

* fixes, refactors

* minor updates
2020-03-05 01:05:23 +00:00
Turanszki Janos fa267b0e7d large refactor 2019-12-12 22:15:16 +00:00
turanszkij a5da17dc86 minor updates, fixes 2019-10-23 19:15:52 +01:00
turanszkij 6fbfe36665 refactor 2019-04-05 00:05:27 +01:00
turanszkij 45e344cbfa added feature: multiple uv sets; gltf updates; editor updates; 2019-03-16 18:19:49 +00:00
turanszkij 197d1175c8 added vertex colors feature; fixed tessellation; removed stereogram effect because no longer needed; some refactor; debug bonelines fix; 2019-03-12 19:20:23 +00:00
turanszkij 9f056b4cfe updated engine initialization logic;
fade manager is now time-based instead of frame-based;
wiImage moved to namespace instead of static class;
refactors;
editor updates;
contributing updates;
2018-10-26 18:35:11 +01:00
turanszkij a8091cc895 softbody vertices can be pinned in editor now + added cloth test 2018-10-20 20:27:59 +01:00
turanszkij c6ef1a6553 updated physics, skinning, systems; added softbody to physics test 2018-10-19 18:51:43 +01:00
turanszkij 6033098218 physics updates 2018-10-18 18:43:16 +01:00
turanszkij 9f98c9ff9d system updates; gltf importer updates; editor updates 2018-10-03 18:48:21 +01:00
turanszkij 3f88eae324 impostor system revived 2018-09-26 21:54:49 +01:00
turanszkij 30e71881ff updates 2018-09-23 20:43:36 +01:00