News for hackers. Stuff that matters.
Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by brundolf on Friday September 18, 2020 @01:40PM (#24519659)
The graphics code would have to be ported to WebGL, and then there might be an extra hurdle getting WASM to talk to WebGL directly. But it's doable, yes.
Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by kettlecorn on Friday September 18, 2020 @01:58PM (#24519881)
Rust with WebGL is pretty seamless today.

I wrote a game for a gamejam using Rust, Wasm, and WebGL without any engine: https://kettlecorn.itch.io/wonder

It makes use of ‘glow’, a Rust library that lets you write regular OpenGL code that runs across desktop, mobile, and web: https://github.com/grovesNL/glow

Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by steveklabnik on Friday September 18, 2020 @01:47PM (#24519730)
Re:rg3d: Rust 3D game engine with an FPS demo game and scene... by pjmlp on Friday September 18, 2020 @02:16PM (#24520079)
References are almost in, by next year you can probably already talk directly to WebGL.