repo: janusweb action: commit revision: path_from: revision_from: 96810977ef30c262e07e418ed156f655bc9a0849: path_to: revision_to:
commit 96810977ef30c262e07e418ed156f655bc9a0849 Author: James BaicoianuDate: Sat Jul 4 09:56:07 2020 -0700 Enable material dithering to reduce color banding diff --git a/scripts/object.js b/scripts/object.js
--- a/scripts/object.js
+++ b/scripts/object.js
@@ -788,6 +788,7 @@ elation.require(['janusweb.janusbase', 'janusweb.websurface'], function() {
var m = oldmat.clone();
} else {
var m = this.allocateMaterial();
+ m.dithering = true;
m.anisotropy = 16;
m.name = oldmat.name;
m.map = oldmat.map;
-----END OF PAGE-----