Commit Graph

87 Commits

Author SHA1 Message Date
Turánszki János f8863799cd EXT_lights_image_based, DDS file writer, envprobe updates, fixes (#741) 2023-09-03 11:39:54 +02:00
Turánszki János 21d5f37fee build updates (#655) 2023-03-28 19:30:29 +02:00
Turánszki János f7ebdbda64 New character controller sample (#575) 2022-09-30 16:25:45 +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
Dennis Brakhane 2f7a6ea44c Replace Arial with "Liberation Sans" (#504)
The Arial license does not allow redistribution, so this commit replaces
it with the metrically compatible "Liberation Sans" font.
2022-08-11 08:06:31 +02:00
Turánszki János 1f6160f56f font renderer: sdf rendering can be disabled, 2x upscaling by default 2022-08-08 12:46:01 +02:00
Turánszki János f78998f44f gui: added support for tooltip theming 2022-07-29 13:55:27 +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 d159fd73e7 audio test update 2022-05-16 09:36:19 +02:00
Megumumpkin 176a6bad8f Tests - Update Gamepad Testing 2022-04-02 18:01:11 +07:00
Turánszki János 07beea2cc9 refactor in test application 2022-03-26 12:29:13 +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 e2e6dd872b tests: added some simple animation to 65k instances demo 2021-09-27 00:01:57 +02:00
Turanszki Janos c6c1dc349c frustum culling layermask optimization 2021-06-02 00:33:08 +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
Turanszki Janos a02d347a84 default font embedded into exe 2021-02-08 21:10:29 +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
Turánszki János e81baa9fef renderer updates (#191)
Big renderer refactor to remove some global state.
- Renderer no longer uses "global scene", but instead takes scene as parameter to functions
- Visibility is exposed, user can generate visibility for arbitrary camera and some exposed parameters
- Big changes in renderer can make user render code in high level interface not compatible with previous versions
- Fixed occlusion culling const correctness
2020-11-23 02:30:10 +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 3d1b67cc67 updated lua interface 2020-07-05 19:39:40 +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 c7f5c1a17e job system updates, cpu performance improvements 2020-05-31 00:38:03 +01:00
Turanszki Janos a1bf837a5e dpi change will trigger ResizeLayout callback for render path 2020-05-06 22:56:08 +01:00
Turanszki Janos 5c4e80a515 fixed GUI scaling issues 2020-05-05 22:45:31 +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 fb29a09e05 added test: 65k instances 2020-04-30 22:18:42 +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 69616149e5 gui: blurred transparency and usability improvements 2020-04-10 17:09:04 +01:00
turanszkij 30acbf8974 fixed tests 2020-03-22 21:14:03 +00:00
Turánszki János 7d4d9dfa6b Inverse Kinematics (#97)
* start ik experiment #93

* inverse kinematics fixes, test #93

* bump version

* ik + animation fix
2020-03-11 00:25:40 +00:00
turanszkij 9b0cc2524b transform hierarchy fix #76 2020-03-09 19:55:11 +00:00
turanszkij d95dfa7ef2 stability improvements, fixes 2020-03-07 16:18:23 +00:00
Turanszki Janos fa267b0e7d large refactor 2019-12-12 22:15:16 +00:00
Turanszki Janos 7d34e1d7bb controller feedback can be set from scripts now 2019-12-08 18:45:54 +00:00
Turanszki Janos fdfce122b0 added controller vibration and led support 2019-12-03 23:23:47 +00:00
turanszkij b15f3cef27 network library rewrite, added network test 2019-10-08 18:57:45 +01:00
turanszkij 40700a2de1 audio system rewrite, added 3D audio support 2019-10-05 18:19:13 +01:00
Turanszki Janos 9b9255ce13 updated hello world sample 2019-08-28 22:46:45 +01:00
turanszkij 0fe8b30ea2 updated sprite wobble anim 2019-08-28 20:14:50 +01:00
turanszkij 4bdd89e79f jobsystem update: context to separate workloads; now jobs are able to spawn other jobs; 2019-06-29 15:02:23 +01:00
Turanszki Janos daba4f2b2f image-script updates part 1 2019-04-30 00:50:01 +01:00
turanszkij 6fbfe36665 refactor 2019-04-05 00:05:27 +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
Turanszki Janos cacf32a75c little ssao refactor / added editor sliders;
removed xatlas warnings;
2019-01-20 00:06:17 +00:00
turanszkij 3b26fc8e2e added sprite wobble anim sample 2019-01-02 19:53:42 +01:00