Evergine on the web with WebGL and WebAssembly
An Evergine application can be deployed as a web app, using WebGL 2.0 as rendering API.
Evergine web applications can run statically on client side quite fast by the use of Blazor Web Assembly for native code execution. Furthermore, they are optimzed for fast loading, by parallelizing asset downloading and leveraging compressing techniques such as Brotli and Zip. Finally, to improve the loading as much as possible, which is crucial in web sites, we also provide an optional ASP server application that implements some optimizations that can only be done from server side.
Prerequisites
- .Net6.0 SDK
- Install Visual Studio 2022 (Recommended)
- Alternatively, Install latest dotnet SDK release.
- Install wasm-tools
- From Visual Studio Installer, add web development workload and the .Net WebAssembly build tools individual component.
- Alternatively, from a root terminal:
dotnet workload install wasm-tools --skip-manifest-update
Limitations
- Physics is not yet available in web platform
- Due to the very recent support of WebGL2.0 by iOS devices, support on its Safari browser is still a work in progress.