+
+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