floooh / sokol-zig

Zig bindings for the sokol headers (https://github.com/floooh/sokol)
zlib License
341 stars 46 forks source link

Add sokol-shdc compiled shader for triangle sample. #65

Closed floooh closed 3 months ago

floooh commented 3 months ago

The triangle sample currently doesn't work in WASM because there's no embedded shader for WebGL2, and this embedded shader makes the triangle sample kinda awkward anyway, instead use a regular .glsl shader.