X-Git-Url: http://git.mutantstargoat.com?a=blobdiff_plain;f=Makefile;h=adda4e117a8849264084f034d54b1cc94a249b15;hb=f6ceb163227d00d7f97df1fc2dfbdd419c56277e;hp=fce6d9afa8f62702ae1b6f1dc8234b734a44ba5b;hpb=d1a2cf93cf54898bb4ad442da94fc61f2617cf9f;p=demo diff --git a/Makefile b/Makefile index fce6d9a..adda4e1 100644 --- a/Makefile +++ b/Makefile @@ -23,3 +23,16 @@ $(bin): $(obj) .PHONY: clean clean: rm -f $(obj) $(bin) $(dep) + +cmpath = data/cubemap +.PHONY: irradiance_map +irradiance_map: + cmft --inputFacePosX $(cmpath)/cubemap_px.hdr \ + --inputFacePosY $(cmpath)/cubemap_py.hdr \ + --inputFacePosZ $(cmpath)/cubemap_pz.hdr \ + --inputFaceNegX $(cmpath)/cubemap_nx.hdr \ + --inputFaceNegY $(cmpath)/cubemap_ny.hdr \ + --inputFaceNegZ $(cmpath)/cubemap_nz.hdr \ + --filter irradiance \ + --output0 $(cmpath)/irradiance_px.hdr \ + --output0params hdr,rgbe,facelist