Skip to content

Commit

Permalink
enlever spectualiter
Browse files Browse the repository at this point in the history
  • Loading branch information
KuhlMatthis committed Mar 15, 2022
1 parent 30699ca commit 4b15266
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions js/Chemin.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export default class Chemin {
var materialBox = new BABYLON.StandardMaterial("mat", scene);
var texture = new BABYLON.Texture("img/sole2.jpg", scene);
materialBox.diffuseTexture = texture;
materialBox.specularColor = new BABYLON.Color3(0, 0, 0);
this.box.material = materialBox;
this.box.position.y = 0;
this.boxes = [];
Expand Down
2 changes: 2 additions & 0 deletions js/Sale.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default class Sale {
box1.Color = new BABYLON.Color3(1, 0, 0);
var materialBox = new BABYLON.StandardMaterial("mat", scene);
var texture = new BABYLON.Texture("img/sole2.jpg", scene);
materialBox.specularColor = new BABYLON.Color3(0, 0, 0);
materialBox.diffuseTexture = texture;
box1.material = materialBox;
box1.position.y= this.oy;
Expand All @@ -30,6 +31,7 @@ export default class Sale {
var materialBox2 = new BABYLON.StandardMaterial("mat", scene);
var texture2 = new BABYLON.Texture("img/mure.jpg", scene);
materialBox2.diffuseTexture = texture2;

box2.material = materialBox2;
box2.position.y= this.oy;
box2.position.x= this.ox;
Expand Down

0 comments on commit 4b15266

Please sign in to comment.