Hacker News new | ask | show | jobs
by imetatroll 1376 days ago
I work on a personal project - a vtt (link in bio) - from time to time that uses webgl2 to render simple objects. Rendering is done in javascript (transpiled from golang) and does fairly well. I am not doing anything quite as intensive as raytracing but I do cast rays in order to generate 3D shadows.

Would you mind explaining what approaches are available for debugging webgl running in webassembly?

Did you chose webassembly for a specific reason rather than just using javascript?

What webgl2 apis do you recommend using to keep FPS reasonably high? I've been using instancing for most of what I render as it is said to be highly efficient.

Just curious!

EDIT: Just looking at your youtube channel and your project is really impressive!