Commit Graph

11291 Commits

Author SHA1 Message Date
Wojtek Figat
2a426e2812 Optimize AtmospherePreCompute to reduce memory usage after sky cache LUTs are rendered 2026-03-03 09:48:29 +01:00
Wojtek Figat
c4f4983f6d Add WebGPU bind groups caching 2026-03-03 09:47:59 +01:00
Wojtek Figat
a925c7410a Deprecate old GPU limits 2026-03-03 08:36:35 +01:00
Wojtek Figat
23ebb0e754 Fix particles on WebGPU to respect format support flags properly 2026-03-02 23:06:01 +01:00
Wojtek Figat
3b2015e816 Fix creating new particle system or scene animation assets after deprecated code removal 2026-03-02 20:47:57 +01:00
Wojtek Figat
f1e851e1b8 Fix WebGPU by moving user to Australia 2026-03-02 20:37:11 +01:00
Wojtek Figat
b191d3918e Fix rendering various visuals on WebGPU 2026-03-02 20:36:33 +01:00
Wojtek Figat
b36c757753 Fix WebGPU error when sampling depth texture in shader which requires explicit UnfilterableFloat sampler type 2026-02-26 16:59:25 +01:00
Wojtek Figat
63f19aa4d6 Fix minor issues 2026-02-26 15:52:41 +01:00
Wojtek Figat
8728d88dde Fix vertex layouts binding to match vertex shader inputs on WebGPU 2026-02-26 15:50:36 +01:00
Wojtek Figat
f6888b099e Add cubemap and texture arrays copy/update in WebGPU 2026-02-26 13:27:35 +01:00
Wojtek Figat
239ceb75a9 Fix binding various resources to shaders in WebGPU 2026-02-26 12:23:07 +01:00
Wojtek Figat
20c9ed27fb Add sampler slots usage and inputs/outputs count to GPU shader program bindings meta 2026-02-26 12:02:52 +01:00
Wojtek Figat
ac4526744a Add GPU profile events to WebGPU and use the by default in non-Release builds 2026-02-26 11:08:12 +01:00
Wojtek Figat
d2a8ac54cf Fix depth stencil view format when binding to shader to use depth-only aspect but still render to both 2026-02-26 11:07:19 +01:00
Wojtek Figat
153b16ebd7 Add various graphics improvements 2026-02-25 18:23:49 +01:00
Wojtek Figat
b535791c66 Implement bind groups in WebGPU to provide resources to shaders 2026-02-25 18:22:55 +01:00
Wojtek Figat
9d95bbaa8c Add GPU data upload allocator with shared page pool 2026-02-24 23:18:07 +01:00
Wojtek Figat
e41ec4ebfd Add verbosity level to platform log for better integration with Web and Android platforms 2026-02-24 20:09:09 +01:00
Wojtek Figat
195d5b1aa2 Fixes and missing changes 2026-02-24 17:59:42 +01:00
Wojtek Figat
7ea3fb1500 Fix shaders codebase to compile into WGSL 2026-02-24 17:56:14 +01:00
Wojtek Figat
9be8589437 Add shader compiler for WebGPU
Use existing Vulkan compiler to generate SPIR-V and convert it into WGSL with tint compiler
https://github.com/google/dawn/releases/tag/v20260219.200501
2026-02-24 17:55:26 +01:00
Wojtek Figat
9158e1c270 Improve stack trace printing when module name is not provided 2026-02-23 11:51:15 +01:00
Wojtek Figat
f0d182771d Add missing define 2026-02-23 11:50:44 +01:00
Wojtek Figat
6081ed35bc Add initial base implementation for WebGPU rendering backend 2026-02-23 11:49:45 +01:00
Wojtek Figat
4ca10c7869 Fix mouse position on Web to match canvas coordinates, not entire window 2026-02-22 22:05:13 +01:00
Wojtek Figat
9fc31b1021 Run Web main loop at vsync to avoid browser throttling
This could be customized in future (depending on VSync usage).
2026-02-20 23:51:05 +01:00
Wojtek Figat
366a5162b7 DIsable screensaver blocking via SDL in Editor 2026-02-20 23:50:13 +01:00
Wojtek Figat
6fd58c418e Fixes and updates to graphics api 2026-02-20 23:49:49 +01:00
Wojtek Figat
08d9ae0ae6 Add callstack capturing on Web platform 2026-02-20 23:47:30 +01:00
Wojtek Figat
27eb53e1a1 Fix web window to maintain canvas size on start 2026-02-20 23:47:01 +01:00
Wojtek Figat
31b5685251 Add GPU_ENABLE_PRELOADING_RESOURCES and use it on Web/Android/iOS to reduce engine resources preloading 2026-02-20 23:45:56 +01:00
Wojtek Figat
894cf2c886 Fix missing JS symbols in Web build of the main module 2026-02-20 23:44:20 +01:00
Wojtek Figat
5b3079acde Fix texture GPU resource debug name in non-Release game builds to match the path in project 2026-02-20 23:43:29 +01:00
Wojtek Figat
1982694ef0 Fix Release build for Web 2026-02-17 19:07:43 +01:00
Wojtek Figat
8b475e9f54 Restore profiler for Web for engine stats in non-Release builds 2026-02-17 18:50:24 +01:00
Wojtek Figat
2b546eb4b3 Add OpenAL audio to Web 2026-02-17 18:43:52 +01:00
Wojtek Figat
69cefb6822 Fix miliseconds in date on Emscripten and skip SDL create process (unsupported) 2026-02-17 15:07:42 +01:00
Wojtek Figat
9772227146 Add shared libraries support for Web to load game module (C++) 2026-02-17 15:07:11 +01:00
Wojtek Figat
34bddc7db1 Minor fix 2026-02-17 13:43:54 +01:00
Wojtek Figat
7ff4ce18ff Add web platform icons to editor atlas 2026-02-17 13:21:00 +01:00
Wojtek Figat
6e7a7c9350 Fix Screen.CursorLock in Editor to skip when viewport is unfocused 2026-02-17 11:46:20 +01:00
Wojtek Figat
2a9c6bbd1d Refactor engine main loop to allow external stepping in Web 2026-02-16 22:32:02 +01:00
Wojtek Figat
0835a6559c Fix Web build issues 2026-02-16 21:31:12 +01:00
Wojtek Figat
489c4a3661 Add packaging game files and bundling them into final Web app 2026-02-16 17:41:43 +01:00
Wojtek Figat
43dca143fa Add env vars impl to Web platform 2026-02-16 16:11:12 +01:00
Wojtek Figat
6bd13feba6 Add various fixes 2026-02-16 16:11:00 +01:00
Wojtek Figat
d1557e5292 Add support for running engine with a single-thread only (content, jobs, drawing, physics) 2026-02-16 16:10:31 +01:00
Wojtek Figat
6f13a33be2 Add LTO and Sanitizers support to Web build 2026-02-16 12:00:24 +01:00
Wojtek Figat
4ccf969f7a Add various fixes for Web 2026-02-16 11:59:44 +01:00