summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b79b04c..331457d 100644
--- a/Makefile
+++ b/Makefile
@@ -6,13 +6,15 @@ shaders = \
$(data_dir)/triangle.csh \
$(data_dir)/ui.csh \
$(data_dir)/surface.csh \
- $(data_dir)/surface_depthonly.csh
+ $(data_dir)/surface_depthonly.csh \
+ $(data_dir)/sky.csh
textures = \
$(data_dir)/22.tex \
$(data_dir)/kita.tex \
$(data_dir)/brick_albedo.tex \
$(data_dir)/brick_ao.tex \
- $(data_dir)/brick_normal.tex
+ $(data_dir)/brick_normal.tex \
+ $(data_dir)/sky.tex
models = $(data_dir)/monkey.mdl
materials = $(data_dir)/bricks.mat $(data_dir)/plastic.mat
packed_files = $(shaders) $(textures) $(models) $(materials)
@@ -63,6 +65,9 @@ data/surface.csh: intermediate/surface.glsl | $(data_dir) sc
data/surface_depthonly.csh: intermediate/surface_depthonly.glsl | $(data_dir) sc
./sc/sc intermediate/surface_depthonly.glsl $(data_dir)/surface_depthonly.csh
+data/sky.csh: intermediate/sky.glsl | $(data_dir) sc
+ ./sc/sc intermediate/sky.glsl $(data_dir)/sky.csh
+
data/22.tex: intermediate/22.bmp | $(data_dir) convtexture
./convtexture intermediate/22.bmp $(data_dir)/22.tex bc1
@@ -78,6 +83,9 @@ data/brick_ao.tex: intermediate/brick_ao.bmp | $(data_dir) convtexture
data/brick_normal.tex: intermediate/brick_normal.bmp | $(data_dir) convtexture
./convtexture intermediate/brick_normal.bmp $(data_dir)/brick_normal.tex bc5
+data/sky.tex: intermediate/sky.hdr | $(data_dir) convtexture
+ ./convtexture intermediate/sky.hdr $(data_dir)/sky.tex rgb16f
+
data/monkey.mdl: intermediate/monkey.glb $(shaders) | $(data_dir) convmodel
./convmodel $(data_dir) intermediate/monkey.glb $(data_dir)/monkey.mdl