floooh / sokol-zig

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

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

Closed floooh closed 6 months ago

floooh commented 6 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.