Load cameras and shuffle about model stuff
[opengl.git] / metallicroughness.py
1 #!/usr/bin/env python3
2 import cv2
3
4 import sys
5
6 metallic = cv2.imread(sys.argv[1])
7 roughness = cv2.imread(sys.argv[2])
8
9 roughness[:,:,0] = 0
10 roughness[:,:,2] = 0
11
12 metallic[:,:,1] = 0
13 metallic[:,:,2] = 0
14
15 cv2.imwrite(sys.argv[3], metallic + roughness)