Skip to content

Is there a way to compile shaders with a local sokol-shdc executable? #83

@floooh

Description

@floooh

Hi @kassane, quick question:

Is there a way to run dub build -c genshaders with a locally built sokol-shdc?

In Zig I can simply override the dependency via zig fetch --save=shdc ../sokol-tools-bin, and in the other bindings I have started to modify the compile-shaders.sh helper script to take the path to a sokol-shdc exe as cmdline arg (e.g.: https://github.com/floooh/sokol-odin/blob/issue1252/resource_views/build_shaders.sh).

I'm now trying to rebuild the sokol-d shaders with a locally modified sokol-shdc, any advice how to do that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions