Commit Graph

48 Commits

Author SHA1 Message Date
Turánszki János 80c6d5d2e4 planar reflection fixes; lua updates; 2023-02-12 18:11:36 +01:00
Turánszki János 30c47c83cc Runtime animation retargeting (#627)
* runtime animation retargeting

* improvements, fixes

* character controller script: separate animation file from character

* editor fix

* script improvements

* foot positioning fixes
2023-01-22 18:29:13 +01:00
Turánszki János 4b7bc04b9e updated Entity_FindByName() to be able to filter by ancestor; added Entity_IsDescendant() function; 2023-01-17 17:03:07 +01:00
Turánszki János f90663c814 added NPCs to character sample script and some other updates 2023-01-13 16:23:35 +01:00
Turánszki János 06e407ff6c lua: camera focal length fix 2022-12-07 10:31:20 +01:00
Turánszki János 00e4be5a4a FidelityFX FSR 2.1 (#597) 2022-11-26 13:50:27 +01:00
Turánszki János 10e783a472 gui and editor updates:
- play button: execute last script
- stop button: kill background script processes
- improved multiple scene switching
2022-11-14 15:09:51 +01:00
Turánszki János 1bb67f9e91 added camera shake sample script; lua binding updates; 2022-11-11 12:00:34 +01:00
Turánszki János f7ebdbda64 New character controller sample (#575) 2022-09-30 16:25:45 +02:00
Turánszki János 6ca1ed9764 lua binding for Component_Attach 3rd param 2022-09-28 10:51:11 +02:00
Turánszki János feeb4e2bbe vector.GetAngle() lua binding 2022-09-27 13:55:37 +02:00
Turánszki János 6abe47be8c lua outline postprocess binding; other updates; 2022-09-26 15:37:44 +02:00
Turánszki János 4693c40598 scene intersection velocity reporting; expression overrides fix; 2022-09-26 09:43:55 +02:00
Turánszki János a9cf8e22c2 vulkan minor update; lua binding updates; scene virtual functions; 2022-09-25 18:53:04 +02:00
Turánszki János cffe8362bd gltf collider layers; added start-end animation lua bindings; 2022-09-25 09:43:10 +02:00
Turánszki János d832ee167f Expression and humanoid lua bindings (#569)
* Expression and humanoid lua bindings

* add fog color override

* fix

* added scene saved indicator text

* win + D fix
2022-09-19 12:19:46 +02:00
Turánszki János 38993813c1 Intersection filtering updates (#565)
- refactored RENDERTYPE enum to FILTER
- added FILTER_NAVIGATION_MESH type - allows tagging meshes for navigation and filtering them in scene intersection functions
- added FILTER_COLLIDER type - allows processing colliders in scene intersection functions
- added simpler interface to get scene intersections: new Scene::Intersects() function overloads
2022-09-13 19:55:30 +02:00
Turánszki János bcffb27ead Parallel scene intersections (#563)
- scene intersections using multithreading
- scene intersections can specify LOD level
2022-09-10 15:24:01 +02:00
Turánszki János 5179d75878 Ray traced diffuse (#561)
* Ray traced diffuse

* tweaks

* tweaks

* tweaks

* updates

* ddgi update speed,
ssr roughness cutoff,
rt reflections ray length,
rt diffuse ray length,
2022-09-09 13:28:03 +02:00
Megumumpkin c32a3194c8 Lua Component Remover (#559)
* Lua Component Remover

* Update Docs

* Add Component Remover to Binding Registration
2022-09-07 09:15:25 +02:00
Turánszki János 03fe5dcce8 Physics updates, lua bindings (#554)
* physics updates, lua bindings

* velocity setters

* fix softbody gravity

* gui things

* colliders cpu and gpu separation

* terrain prop check for missing assets

* lua internal put in function
2022-09-04 16:34:50 +02:00
Megumumpkin 018f5d003d Add HairParticleSystem and Small Enhancements for Lua Bindings (#553)
* Update Lua

* Update Lua Bindings

* HairComponent Lua Binding Fix

* Adding Documentation
2022-09-03 19:06:56 +02:00
Turánszki János 60ef0ae251 Terrain refactor (#549)
- terrain separated into core logic and gui
- terrain can be serialized
- ddgi extents also saved, added control for smooth backface test
- raytraced shadow fixes
2022-09-01 18:42:16 +02:00
Turánszki János 73ee94d114 Volumetric cloud updates (#544)
- Reprojection update
- Cloud model changes
- Weather map import
- Local lights
- Environment capture
- Volumetric cloud shadow
- Aerial perspective for clouds

Co-authored-by: Silas Oler <silasmartins@outlook.dk>
2022-08-30 16:37:51 +02:00
Megumumpkin 97ecb37106 Fix Lua Binding (#539) 2022-08-28 16:13:43 +02:00
Megumumpkin da94fa2641 Lua Extend Refactor (#537)
* Add More Properties to Lua Bindings

* Fis class_parameters.lua Script

* Update Transform Bindings

* Update TransformComponent Bindings
2022-08-28 12:36:47 +02:00
Megumumpkin 24f7c3a5b5 Extend Lua Scripting (#534) 2022-08-26 19:26:56 +02:00
Turánszki János bd41a54b3b Script Component (#521) 2022-08-22 13:53:59 +02:00
Turánszki János 64babc8fcd Config file support (#517) 2022-08-20 18:32:16 +02:00
Turánszki János c7da8a9dd3 added light shaft strength parameter 2022-08-15 15:20:43 +02:00
Turánszki János 440ad123aa added capsule-ray intersect functions; editor bone picking; 2022-08-11 09:43:43 +02:00
Turánszki János b944465263 Font renderer updates (#483)
* font renderer updates, text debug drawer;
editor: name visualizer;
github CI: vulkan sdk not required;

* cmake: vulkan sdk not required

* refactors

* lua binding for DrawDebugText()

* comment

* transparency sorting for debug texts;
font alphablend fix;

* softer debug text
2022-07-05 15:20:23 +02:00
Turánszki János c02ab327d8 Physical light units (#476) 2022-06-29 20:15:36 +02:00
Turánszki János d17a3f1fbe scripting updates 2022-06-23 10:39:25 +02:00
Turánszki János d914744585 lua binding for color space info display 2022-06-22 11:49:32 +02:00
Turánszki János 949520e4b8 SetAOPower() lua binding 2022-06-22 11:31:32 +02:00
Turánszki János 9177077b7a Shadow atlas (#467)
shadow atlas will contain directional, spot, point light shadows all in one texture;
shadow count will not be limited, they will be tigthly packed within the atlas instead;
shadow resolution will be dynamic per light;
shadow texture arrays will no longer be used;
2022-06-21 18:34:04 +02:00
Turánszki János 9af2855682 VRAM usage display 2022-06-03 14:52:58 +02:00
Turánszki János 731f9aae31 SDF font rendering (#453)
SDF supports following font effects:
- upscaling sharpness improvement
- softness
- bolden
2022-05-30 16:58:27 +02:00
Turánszki János 00b2655329 added custom scaling factor to canvas (#416) 2022-04-23 09:50:46 +02:00
Turánszki János cc2ca6a433 scripting updates and new sample scripts 2022-01-09 21:29:16 +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 d3c11eddf6 HDR display support (#341)
* dx12: initial HDR support

* make dx12 more feature level compatible

* vulkan, dx12 hdr updates

* remove trash

* remove postprocess_LDR, tests

* fixes

* added custom display output mapping for hdr10

* renderpath2d srgb->linear mapping for compose blending

* hdr updates

* improvements

* documentation update

* documentation fixes

* vulkan: outdated swapchain handling

* minor fix

* vulkan: hdr workaround with color space change with same format

* improved vulkan swapchain destructor

* updated features.txt
2021-11-09 19:02:01 +01:00
Turanszki Janos 7b182ccb37 updated lua bindings and added rotate sun script 2021-07-11 14:54:37 +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 ea673fb3b7 depth of field params moved to CameraComponent 2021-04-04 17:07:27 +02:00
Turánszki János 933080a2e4 Unified Shader Compiler (#250) 2021-03-21 18:54:04 +01:00