Interrupt / Interrupt/delve-framework
Material system: rework to use Sokol's yaml output for shader generation
Open
- Dominant language
- Zig
- Stars
- 338
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
The current Material system is bulky to work with because the uniform buffer locations can change depending on the shader's content, and it doesn't support modding well as right now it requires the shaders to be generated as Zig code.
The author of Sokol said about this problem:
_I think the best option for that use case is to use the bare_yaml output in sokol-shdc. The resulting YAML reflection file should be easy enough to parse without a full yaml parser at hand, and the shader-blobs themselves can be runtime-loaded._
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.