diff options
author | quou <quou@disroot.org> | 2025-01-04 18:41:08 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2025-01-04 18:41:57 +1100 |
commit | 3b5a6b7665092aef6eb0cb30e7da25b6dbe8b178 (patch) | |
tree | 3c261a5fd7df40174e1cfe31d941a532cccd37bf /Makefile | |
parent | cf4c007acc6bce0aa702a39b4675ecb879b911ed (diff) |
render a skybox
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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 |