-
Notifications
You must be signed in to change notification settings - Fork 23
/
cmft.sh
executable file
·37 lines (33 loc) · 1.52 KB
/
cmft.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
CMFT=cmft
eval $CMFT $@ --input "assets/cubemaps/uffizi-mipmaps.dds" \
::Filter options \
--filter radiance \
--excludeBase false \
--glossScale 10 \
--glossBias 1 \
--lightingModel phongbrdf \
--dstFaceSize 512 \
::Processing devices \
--numCpuProcessingThreads 4 \
--useOpenCL true \
--clVendor anyGpuVendor \
--deviceType gpu \
--deviceIndex 0 \
::Output \
--output0 "data/cubemaps/uffizi" \
--output0params dds,rgba32f,cubemap \
exit
eval $CMFT $@ --input "assets/cubemaps/uffizi.dds" \
::Filter options \
--filter none \
::Processing devices \
--numCpuProcessingThreads 4 \
--useOpenCL true \
--clVendor anyGpuVendor \
--deviceType gpu \
--deviceIndex 1 \
--generateMipChain true \
::Output \
--output0 "data/cubemaps/uffizi-mipmaps" \
--output0params dds,rgba32f,cubemap \