repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 96810977ef30c262e07e418ed156f655bc9a0849:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 96810977ef30c262e07e418ed156f655bc9a0849
Author: James Baicoianu 
Date:   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
index 50c4193534d61479b3d369e3f576131876ffcc9e..
index ..f1f4808b6a26c1d9ecdce4f4af640873618a61df 100644
--- 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-----