summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2025-01-02 15:42:05 +1100
committerquou <quou@disroot.org>2025-01-02 15:42:05 +1100
commitb03109dbb087bd441c0e3905753f3dd97d44d7b8 (patch)
tree9f4372b2aa643c29cdd338b8776c02d175b4a881 /Makefile
parent6d4b56258b89ba12bec5e329b81de62284c47ce1 (diff)
Simpler depth prepass shader
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 600bdda..b79b04c 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,11 @@
target = c2
data_dir = data
-shaders = $(data_dir)/triangle.csh $(data_dir)/ui.csh $(data_dir)/surface.csh
+shaders = \
+ $(data_dir)/triangle.csh \
+ $(data_dir)/ui.csh \
+ $(data_dir)/surface.csh \
+ $(data_dir)/surface_depthonly.csh
textures = \
$(data_dir)/22.tex \
$(data_dir)/kita.tex \
@@ -56,6 +60,9 @@ data/ui.csh: intermediate/ui.glsl | $(data_dir) sc
data/surface.csh: intermediate/surface.glsl | $(data_dir) sc
./sc/sc intermediate/surface.glsl $(data_dir)/surface.csh
+data/surface_depthonly.csh: intermediate/surface_depthonly.glsl | $(data_dir) sc
+ ./sc/sc intermediate/surface_depthonly.glsl $(data_dir)/surface_depthonly.csh
+
data/22.tex: intermediate/22.bmp | $(data_dir) convtexture
./convtexture intermediate/22.bmp $(data_dir)/22.tex bc1