diff --git a/tools/convert-mesh/bin/convert-mesh.py b/tools/convert-mesh/bin/convert-mesh.py index 409bfff0..d93664d6 100644 --- a/tools/convert-mesh/bin/convert-mesh.py +++ b/tools/convert-mesh/bin/convert-mesh.py @@ -153,7 +153,7 @@ if colors: for i in range(len(vertex_colors)): c = 0 for k in (3, 2, 1, 0): - c = (c << 8) | int(max(0, min(255, vertex_colors[i][k] * 255))) + c = (c << 8) | int(max(0, min(255, pow(vertex_colors[i][k], 2.2) * 255))) vertex_colors[i] = c if armature: