From b03109dbb087bd441c0e3905753f3dd97d44d7b8 Mon Sep 17 00:00:00 2001 From: quou Date: Thu, 2 Jan 2025 15:42:05 +1100 Subject: Simpler depth prepass shader --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3-54-g00ecf