Commit Graph

89 Commits

Author SHA1 Message Date
Dennis Brakhane f0bd5a8086 Don't use by reference capture by default (#1207)
replace [&] with [this] or [] where possible to avoid people
accidentally capturing something by reference that needs to be
copied, like strings.
2025-08-13 08:46:42 +02:00
Turánszki János 7ecd39dd6e Warning fixes and changes for Linux
- Disabled warnings as errors
- Using -Wall for specifying commonly used warnings
- Fixes for many warnings in the engine code
2025-07-29 19:59:53 +02:00
Turánszki János a3c0ce083d editor theme and config fixes 2025-06-25 08:50:56 +02:00
Turánszki János c31aa35c53 gui layout refactor (#1114) 2025-06-01 17:07:12 +02:00
Turánszki János 1be929aa8a gui changes: slider size now includes the textbox, combobox size now includes the droparrow, editor gui rearrangement 2025-05-30 08:50:26 +02:00
Turánszki János dfcc61bd6d gui: auto window sizing to fit all widgets; editor: object lightmap preview, windows sizing updates; 2024-12-29 11:15:50 +01:00
Turánszki János 62bcee63e3 ocean improvements: extinction, scattering, volumetric light fix 2024-07-09 08:34:35 +02:00
Turánszki János a988218755 resource manager filedata retention changes (#857) 2024-06-06 09:18:42 +02:00
Turánszki János 1c38d93304 Editor gui v2 (#843) 2024-05-17 08:04:05 +02:00
Turánszki János 54f0ee693f Rain (#766) 2023-10-21 15:47:41 +02:00
Turánszki János 6924716740 editor: moved eliminateCoarseCascades and KTX2convert buttons to General options 2023-08-07 07:10:54 +02:00
Turánszki János 07946b9d97 VRM import: apply subsurface scattering for skin materials, disable shadow casting for some face elements;
weather: default ambient higher;
character asset updated;
2023-05-04 16:40:07 +02:00
Turánszki János 21d5f37fee build updates (#655) 2023-03-28 19:30:29 +02:00
Turánszki János 1440e0b8fd weather: added sky rotation 2023-03-03 16:27:42 +01:00
Turánszki János 23028e1450 Fog improvements (#645)
Co-authored-by: Silas Oler <silasmartins@outlook.dk>
2023-02-26 11:26:21 +01:00
Silas Oler 72f8cdb745 Realistic sky improvements (#636)
* Aerial Perspective implementation

* AP for transparency

* Camera volume LUT blend fix

* Disable transparent shadows for AP

* better and faster upscaling

* temporal occlusion fix

* Refactor and serialization

* Shadows affect sky in high quality

* Shadow toggle and cloud shadow support

* AP for terrain

* serializer fix

* Cloud receive camera volume

* Disable PS and sun capture fix

* fix

* Separated AP from unified sky pass and optimization

* typo

* custom upsample pass for clouds

* fix

* use important light index

* fix

* cloud mask fix; archive version fix;

---------

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
2023-02-11 15:43:39 +01:00
Silas Oler 4433762a77 Volumetric clouds update (#603)
* volumetric cloud second layer

* disable temporal aa jitter for clouds

* fix

* cloud shadow fix

* increased cloud depth precision

* cloud velocity from position

* color picker for layers fix

* fsr jitter fix

* performance optimizations

* revert velocity

* more optimizations

* weather window parameters and terrain preview

* cloud name refactors

* weathermap update

* performance and refactor

* weathermap fix

* weathermap type
2022-12-27 20:05:34 +01:00
Turánszki János fbdea8b881 Audio state query; Editor sound wave visualizer; 2022-12-09 20:48:40 +01:00
Turánszki János dc775a7bd5 hdr image loading support; bc6h image loading fix; spherical envmap support; 2022-12-08 12:30:11 +01:00
Turánszki János 33ef19bad5 editor: disable fog in default weather, fixes 2022-12-06 09:37:01 +01: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 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
Dennis Brakhane 2c26b73cf0 fix typo (#545) 2022-08-31 08:05:22 +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
Turánszki János eff37576b5 Improving window layouts (#532)
* improving component window layouts

* sound window update

* transform window update

* editor top gui animation; delete callback for entity tree

* layer window update

* other layout changes

* grid helper ini

* don't allow negative or zero local scale

* version bump

* camera fps config check if exists
2022-08-26 09:21:19 +02:00
Turánszki János 9cc6566e0a Editor updates (#515)
* renderer and postprocess windows combined into graphics window

* graphics window layout resize

* camera resizelayout, replace unordered map in terraingenerator for linux

* material userdata

* graphics window update
2022-08-19 08:43:10 +02:00
Turánszki János 20e1989630 GLTF sparse accessor, VRM model import 2022-08-15 14:14:09 +02:00
Turánszki János bebe54efc6 Light animation support (#509) 2022-08-14 22:46:54 +02:00
Turánszki János 5345e4ba4f inverse kinematics stability improvement, editor bone size tweaks, default weather gradient 2022-08-13 13:02:03 +02:00
Turánszki János a0ad653d7d GUI ResizeLayout (#495)
* gui resizelayout #51

* checkbox icons

* updates

* weather reset

* embedded logo asset
2022-07-31 19:28:41 +02:00
Turánszki János f277a00596 GUI updates (#490) 2022-07-28 20:59:25 +02:00
Turánszki János 5a0c423ddd Updates:
- editor: quicksave, multiple scenes support, gui changes, additional shortcuts
- physics: improvements for handling multiple scenes, and removal of physics objects
- scripting: ability to override global scene and camera with custom scene and camera from cpp side
2022-07-14 15:21:28 +02:00
Turánszki János 196eb3ec38 gui: scrollbar improvements 2022-07-06 10:50:24 +02:00
Turánszki János f7d28b1127 GUI scrollbar updates (#447) 2022-05-19 22:42:49 +02:00
Turánszki János 18108223df Terrain Virtual Texture (#422) 2022-05-02 10:34:27 +02:00
Turánszki János d0b3f63511 Starry sky (#418) 2022-04-27 12:51:53 +02:00
Turánszki János b7ee504351 cloud shadows 2022-04-16 16:24:27 +02:00
Turánszki János 1a1749b3c4 editor: added "white furnace" weather preset 2022-03-10 23:47:59 +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
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 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
Silas Oler 4adbb67660 exponential height fog (#275) 2021-07-05 14:12:59 +02:00
Turanszki Janos 781916b62b fixes 2021-06-21 11:12:49 +02:00
Turanszki Janos 657d391fb1 volumetric clouds: reduce blue noise sampling and reduce resolution 2021-06-17 13:55:19 +02:00
Turanszki Janos 1b7432a57f volumetric cloud updates:
- added light shaft occlusion support
- moved into weather
- parameter access, serialization
2021-06-16 21:57:20 +02:00
Turanszki Janos 6995a64ec4 editor: weather window fix 2021-06-13 15:48:51 +02:00
Turanszki Janos 83c4467a54 raytracing updates; water and ocean shader fog alpha fix; 2021-05-26 10:20:25 +02:00
Turanszki Janos fc982f19b7 exposed atmosphere settings in weather component, and added skyExposure 2021-05-10 21:12:48 +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