I blog about my hobbies – a mix of graphics programming and gamedev – see tchayen.com
Now when I change anything and save the file, WASM module is automatically compiled and reloaded.
Now when I change anything and save the file, WASM module is automatically compiled and reloaded.
This is 10k individual draw calls, unoptimized, no instancing, no render bundles. Every object is controlled separately.
This is 10k individual draw calls, unoptimized, no instancing, no render bundles. Every object is controlled separately.
There's a render pass which draws scene to a r32_unit texture where color of mesh is its ID. Then a compute shader given mouse coordinates writes which color it was to a tiny buffer which is mapped and read back CPU side.
There's a render pass which draws scene to a r32_unit texture where color of mesh is its ID. Then a compute shader given mouse coordinates writes which color it was to a tiny buffer which is mapped and read back CPU side.