Texture pipeline, pixel-art shader
This commit is contained in:
@@ -27,6 +27,8 @@ pub fn build(b: *std.Build) !void {
|
||||
});
|
||||
sokol_dep.artifact("sokol_clib").addIncludePath(cimgui_dep.path(cimgui_conf.include_dir));
|
||||
|
||||
const zstbi_dep = b.dependency("zstbi", .{});
|
||||
|
||||
const sokol_mod = sokol_dep.module("sokol");
|
||||
const shdc_dep = sokol_dep.builder.dependency("shdc", .{});
|
||||
|
||||
@@ -41,9 +43,12 @@ pub fn build(b: *std.Build) !void {
|
||||
},
|
||||
});
|
||||
|
||||
const zstbi_mod = zstbi_dep.module("root");
|
||||
|
||||
exe_mod.addImport("cimgui", cimgui_dep.module(cimgui_conf.module_name));
|
||||
exe_mod.addImport("shaders", shaders_mod);
|
||||
exe_mod.addImport("sokol", sokol_mod);
|
||||
exe_mod.addImport("zstbi", zstbi_mod);
|
||||
|
||||
const exe = b.addExecutable(.{
|
||||
.name = "voxel-game",
|
||||
|
||||
Reference in New Issue
Block a user