recp / gkern

🎥 Graphics Kernel: flexible, highly configurable, extensible render engine (realtime + offline)
GNU Lesser General Public License v3.0
98 stars 11 forks source link

Supply basic example project #11

Open ricochhet opened 3 years ago

ricochhet commented 3 years ago

Hello,

I was wondering if / when a basic example will be provided. I would like to contribute to this project, but I don't know where to begin. As documentation hasn't been created yet, having an example implementation of some of the features would be greatly appreciated so I could better understand how things should be put together.

Thanks.

recp commented 2 years ago

Hi @ricochhet

Many thanks for the interesting,

The project was built on OpenGL and GLSL which is deprecated on macOS. I'm changing the arch which will support cross-platform rendering.

Instead of using OpenGL directly, I'm planning to switch (https://github.com/recp/gpu) and USL (https://github.com/UniversalShading). USL will allow to write single shader and produce it for multiple GPUs.

I'm working on UniversalShading's compiler which is private for now, I'll try to make it public later (asap). After that this project will use that and this project will be updated more regularly then