cubzh icon indicating copy to clipboard operation
cubzh copied to clipboard

GPU and Multithreaded Processing Support

Open ahs3n opened this issue 2 years ago • 0 comments

(Hi, I'm a01000001 on Cubzh, Λ H S Ξ N on Discord)

I would like to suggest the addition of GPU processing and/or multithreading support for Cubzh worlds. I recently created a raytracing world, and it is extremely slow, causing me to think of this.

I am aware that GPU support between platforms is very difficult, especially when it comes to allowing every program to write its own code. For this reason, I was thinking perhaps WebGL GLSL shaders can be integrated into the system somehow, because WebGL shaders can compile and run on iOS, Android, macOS, Windows, and Linux through almost any web browser. (I have not tested any more operating systems than this, but probably more are supported)

As for multithreading... well I have no idea. I've never managed to make a working multithreaded program in any language 😅

ahs3n avatar Feb 20 '23 16:02 ahs3n