Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@


# .NET WebGL sample

This is a minimum viable product for running WebGL, using dotnet's WebAssembly and Silk's OpenGLES bindings with emscripten.

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
```