Commit Graph

2482 Commits

Author SHA1 Message Date
Turanszki Janos de22c5251c build script update 2020-11-16 19:19:04 +01:00
Turanszki Janos f7a5937c12 sprite refactor 2020-11-14 19:14:27 +01:00
Turanszki Janos 04b47f5214 sprite and font updates 2020-11-14 19:02:11 +01:00
Turanszki Janos d586c6d8a1 constant buffer refactor: alphatest, clip plane 2020-11-14 13:56:44 +01:00
Matteo De Carlo b4659f3b4f Automatic shader dependencies in cmake targets (#190)
* Automatic shader dependencies in cmake targets

I got the shader compilation in cmake improved by automatically appending the included headers (recursively) into its dependencies.
In short, if you change an header it will also recompile all shaders that use that header.

Downsides:
- It's extremely slow (because I have to compile a shader to know its header dependencies. It's a dxc limitation but that we can get the developers to improve it)
- including/removing headers will need to re-run the cmake generation to make the building process consistent again (reload cmake in clion / run cmake in the terminal)

* fix graphic mess

the final framebuffer was all messed up, mostly all black but not entirely
something broke, not sure what...
this fixes it
2020-11-14 11:41:17 +01:00
Turánszki János ffef4a98c5 linux shader build fix (#189)
* linux shader build fix

* fix syntax?

* position-w fix
2020-11-13 23:14:45 +01:00
Turanszki Janos ec097911e0 lens flare fix 2020-11-12 23:29:35 +01:00
Turanszki Janos 87139ba702 light culling refactor; volumetric light dithering; 2020-11-12 21:31:05 +01:00
Turanszki Janos 1d3759565e removed warnings 2020-11-11 00:05:52 +01:00
Turánszki János abacc054c8 Replace spirv-cross with spirv-reflect (#186) 2020-11-10 23:58:51 +01:00
Turanszki Janos f970b72ce0 removed clang-format, added editorconfig 2020-11-10 00:00:54 +01:00
Turanszki Janos 0d8de60934 font fix 2020-11-09 21:10:16 +01:00
Turanszki Janos 501fe734c9 editor: added delete impostor button 2020-11-09 20:37:32 +01:00
Turanszki Janos 0c3f100d7f gui improvement: combobox userdata 2020-11-08 17:38:43 +01:00
Turanszki Janos 7ecac931a2 fix: correct raycast picking with morph target 2020-11-08 17:06:38 +01:00
Turanszki Janos 325bef4d96 fix entity_duplicate prefix sum in release mode #184 2020-11-08 11:34:51 +01:00
Turanszki Janos 8d13f6cae1 entity duplication will keep full hierarchy #184 2020-11-08 11:24:00 +01:00
Turanszki Janos b1caa0857e clang format fix 2020-11-08 10:06:29 +01:00
Turanszki Janos 1f14b1d80f apply morph target normals, better morph updating 2020-11-07 12:44:12 +01:00
XthemeCore cfb1a2b585 Fix - add normal for morph target (#183)
Quick fix for morph target by preparing support normal without implementation.
2020-11-07 11:02:36 +01:00
Turánszki János 489a5c8501 Inline raytracing shaderpath update (#181)
* inline raytracing shaders will use different shaderpath (only if device support available)

* updated version
2020-11-06 20:16:07 +01:00
XthemeCore 2559f88c2e Add Morph Target (#180)
Support both glTF 2.0 and wiscene format.
2020-11-06 20:12:51 +01:00
Turanszki Janos 0786020843 updated clang-format 2020-11-06 16:11:57 +01:00
Turanszki Janos bc7ea7169b remove unused code 2020-11-06 16:11:48 +01:00
Turanszki Janos c917be7486 removed unused shaders 2020-11-06 13:50:01 +01:00
Turánszki János f4b35ee9d9 Merge pull request #177 from amerkoleci/improvements
Improvements
2020-11-05 15:42:26 +01:00
Amer Koleci e05cda5ec5 Revert accidental commit. 2020-11-05 14:38:04 +01:00
Amer Koleci de29f09b50 Vulkan: Enable VK_EXT_debug_utils only if supported and enable debug utils messenger instead of deprecated VK_EXT_Debug_Report. 2020-11-05 12:22:57 +01:00
Amer Koleci cdba283f7d Vulkan: Correctly handle swapchain resize logic and semaphore handling. 2020-11-05 12:10:19 +01:00
Amer Koleci 39ccfb96a1 Fix RESOURCE_MISC_RAY_TRACING not mapping correctly. 2020-11-05 11:29:25 +01:00
Turanszki Janos af7cb4f3d5 improved cartoon shading 2020-11-04 20:34:56 +01:00
Turanszki Janos c90163429e shader refactor 2020-11-04 16:48:38 +01:00
Turanszki Janos 571f435253 refactor 2020-11-04 16:02:23 +01:00
Turanszki Janos ec796bbdb3 added clang-format 2020-11-04 12:20:51 +01:00
Turanszki Janos 5c1a0efc47 vulkan shaders rcp-w fix 2020-11-03 13:25:03 +01:00
Turanszki Janos 2e73cdae05 sprite mip fix #170 2020-11-02 00:55:38 +01:00
Turanszki Janos e2af651635 added nightly builder 2020-10-31 13:27:54 +01:00
Turanszki Janos 80f8df14b1 build scripts update 2020-10-30 21:25:10 +01:00
Turanszki Janos 2c2acf6b84 fix 2020-10-30 20:27:53 +01:00
Turanszki Janos 29b31711c9 gbuffer normal packing changes; small improvements; 2020-10-30 19:01:56 +01:00
Turanszki Janos 61fef7a0c1 linux atmosphere shaders update 2020-10-29 21:39:08 +01:00
Turanszki Janos db381e3991 realistic sky: modified sun size 2020-10-29 21:02:22 +01:00
Turanszki Janos 01e49e5c52 fix unoptimal codegen 2020-10-29 20:53:57 +01:00
Turanszki Janos c19bc524d9 removed fxc warnings 2020-10-29 20:46:00 +01:00
Kliaxe 11454a6e64 Precomputed Atmospheric Scattering (#165)
* Precomputed Atmospheric Scattering

* SSR temporal change

* weather window fix; sky precomputation only when realistic sky enabled; linux fix?

* refactors, fix

* revert to correctly working dxc version

Co-authored-by: Turánszki János <turanszkij@users.noreply.github.com>
Co-authored-by: Turanszki Janos <turanszkij@gmail.com>
2020-10-29 20:12:45 +01:00
Turanszki Janos 38cad754f1 serializer improvement 2020-10-28 20:45:16 +01:00
Turanszki Janos 49eea50c89 improvements in asset loading 2020-10-28 00:44:15 +01:00
Turanszki Janos e65337a240 ecs build fix 2020-10-28 00:22:21 +01:00
Turanszki Janos 79e23b0a46 improved ecs serialization and asset loading time 2020-10-28 00:12:06 +01:00
Turanszki Janos 3ca2c6996e VPRT vertex shader emulation for old GPU 2020-10-25 14:23:40 +01:00