Skip to content

Commit

Permalink
Merge pull request #1 from jcfrog/master
Browse files Browse the repository at this point in the history
white cube board fixed
  • Loading branch information
mi-g committed May 17, 2017
2 parents c755823 + 2392a87 commit 9b1b825
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/games/chessbase/cubic-board-view.js
Expand Up @@ -542,7 +542,7 @@
canvas[channel]=canvas0;
});
spec.createMaterial.call($this,spec,canvas,function(material) {
material.emissive={r:.5,g:.5,b:.5};
material.emissive={r:0,g:0,b:0};
if($this.cbView.fences && $this.cbView.fences[fence])
material.color.set($this.cbView.fences[fence]);
var mesh=new THREE.Mesh(meshGeometry,material);
Expand Down Expand Up @@ -707,9 +707,9 @@
var texBoardDiffuse = new THREE.Texture(canvas.diffuse);
texBoardDiffuse.needsUpdate = true;
var matSpec={
specular: '#111111',
emissive: '#ffffff',
shininess: 500,
specular: '#010101',
//emissive: '#ffffff',
shininess: 200,
map: texBoardDiffuse,
}
if(canvas.bump) {
Expand Down Expand Up @@ -859,7 +859,7 @@
}

var lightPos = 14;
var lightInt = 1.2;
var lightInt = 1;

View.Game.cbExtraLights = [{
color: 0xffffff,
Expand Down

0 comments on commit 9b1b825

Please sign in to comment.