diff --git a/README.md b/README.md index a39884b..10920fb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ + + # .NET WebGL sample This is a minimum viable product for running WebGL, using dotnet's WebAssembly and Silk's OpenGLES bindings with emscripten. @@ -5,3 +7,14 @@ This is a minimum viable product for running WebGL, using dotnet's WebAssembly a Thanks to WaveEngine/@emepetres's wasm sample projects for help and original samples and references. If you want to separate rendering and animation logic into different threads, you can refer to this fork: [XiaofengdiZhu/dotnet-webgl-mt-sample](https://github.com/XiaofengdiZhu/dotnet-webgl-mt-sample) + +## Build and Run + +1. Install the .NET WebAssembly workload: + ```bash + dotnet workload install wasm-tools + ``` +2. Run the project: + ```bash + dotnet run + ```