projects
/
opengl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rework UI architecture and blendshape animation
[opengl.git]
/
metallicroughness.py
diff --git
a/metallicroughness.py
b/metallicroughness.py
index e4bf1b8d5595290824de5b493759e5a25cf07148..bc82363ec9a4eeb23b4df0e10edcb204d912a4a3 100755
(executable)
--- a/
metallicroughness.py
+++ b/
metallicroughness.py
@@
-9,7
+9,7
@@
roughness = cv2.imread(sys.argv[2])
roughness[:,:,0] = 0
roughness[:,:,2] = 0
-metallic[:,:,0] = 0
metallic[:,:,1] = 0
+metallic[:,:,2] = 0
-cv2.imwrite(sys.argv[3],
roughness + metallic
)
+cv2.imwrite(sys.argv[3],
metallic + roughness
)