From 33ee67f036fa262fbc8ee6e2669315e39c654272 Mon Sep 17 00:00:00 2001 From: omicronrex <65692652+omicronrex@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:25:05 -0300 Subject: [PATCH] shader model 3.0 --- build.zig | 4 ++-- gm82gltf.gej | 10 +++++----- gm82gltf.gml | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/build.zig b/build.zig index e02a174..ce39dfd 100644 --- a/build.zig +++ b/build.zig @@ -59,10 +59,10 @@ pub fn build(b: *std.Build) !void { gm82gex_run.step.dependOn(&artifact_step.step); b.getInstallStep().dependOn(&gm82gex_run.step); - const vshader_compile_step = try fxc(b, fxc_file, "/Tvs_3_0", "vertex.vs2", "vertex.hlsl"); + const vshader_compile_step = try fxc(b, fxc_file, "/Tvs_3_0", "vertex.vs3", "vertex.hlsl"); vshader_compile_step.step.dependOn(&fxc_file.step); gm82gex_run.step.dependOn(&vshader_compile_step.step); - const pshader_compile_step = try fxc(b, fxc_file, "/Tps_3_0", "pixel.ps2", "pixel.hlsl"); + const pshader_compile_step = try fxc(b, fxc_file, "/Tps_3_0", "pixel.ps3", "pixel.hlsl"); pshader_compile_step.step.dependOn(&fxc_file.step); gm82gex_run.step.dependOn(&pshader_compile_step.step); diff --git a/gm82gltf.gej b/gm82gltf.gej index 4d4b292..e579901 100644 --- a/gm82gltf.gej +++ b/gm82gltf.gej @@ -3,7 +3,7 @@ "folder": "gm82", "version": "1.0", "author": "Floogle", - "date": "20/08/2024", + "date": "26/08/2024", "license": "Free to use, also for commercial games.", "description": "", "helpfile": "", @@ -1226,8 +1226,8 @@ "constants": [] }, { - "filename": "gltf_pixel.ps2", - "origname": "zig-out/pixel.ps2", + "filename": "gltf_pixel.ps3", + "origname": "zig-out/pixel.ps3", "kind": 4, "init": "", "final": "", @@ -1235,8 +1235,8 @@ "constants": [] }, { - "filename": "gltf_vertex.vs2", - "origname": "zig-out/vertex.vs2", + "filename": "gltf_vertex.vs3", + "origname": "zig-out/vertex.vs3", "kind": 4, "init": "", "final": "", diff --git a/gm82gltf.gml b/gm82gltf.gml index 1e940e2..5a21989 100644 --- a/gm82gltf.gml +++ b/gm82gltf.gml @@ -18,10 +18,10 @@ globalvar __gm82gltf_primitivemorphs; globalvar __gm82gltf_shader_vertex_default; - __gm82gltf_shader_vertex_default=shader_vertex_create_file(temp_directory+"\gm82\gltf_vertex.vs2") + __gm82gltf_shader_vertex_default=shader_vertex_create_file(temp_directory+"\gm82\gltf_vertex.vs3") globalvar __gm82gltf_shader_pixel_default; - __gm82gltf_shader_pixel_default=shader_pixel_create_file(temp_directory+"\gm82\gltf_pixel.ps2") + __gm82gltf_shader_pixel_default=shader_pixel_create_file(temp_directory+"\gm82\gltf_pixel.ps3") globalvar __gm82gltf_shader_vertex; __gm82gltf_shader_vertex=__gm82gltf_shader_vertex_default globalvar __gm82gltf_shader_pixel; __gm82gltf_shader_pixel=__gm82gltf_shader_pixel_default