From fb29b6345e8cdae650aebdba0c8b65f1b14a0905 Mon Sep 17 00:00:00 2001 From: Thebarda Date: Fri, 2 Dec 2016 05:19:13 +0200 Subject: [PATCH] fin --- images/text.png | Bin 0 -> 23955 bytes scripts/demo.js | 6 +++++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 images/text.png diff --git a/images/text.png b/images/text.png new file mode 100644 index 0000000000000000000000000000000000000000..467503d223637bbe8f638759e90cdb3a521848d2 GIT binary patch literal 23955 zcmeI)i91_a{{ZlGW?I?~raG-wZ8g@2ecxN9YA>~w+Qt%V>|!fsD1)L?>)4{yF7~a~ zhL(EOzJwBMn-BygNJ#t=eP@2Zzu3!pus;(XRJGhHS@X50Nw)_z!9leYgcGJkYv9$6X&!ZITt3ud^X_|$|Xosv)nG%w>i8skjNJbQSF-%ia=>5(^U zzEFWM*PeRdtuimz|Fn1AtuQUH|tK=+M%nLwaBl{*Or@^8DrS0PVLdnk4fQJtdA@@E%-YDL{!&w--Q*yTZVKmNm|O@*|osYV2aA{7|q zVB`vgehzzgHMev0OYDD?o&Q$E+2@?1*jxX5Xz%}x=-+2N&+ZoNJPdQ`p2paidqZ8< z9D@AKI~Cu3v6(X9=)>2Dh~BM!pPDSNrZn5C=)g1`YL&#=VU}YSwqo5k^dJzXHrIZs zk9t6OO&%;N+8dd&>vCo4J`xC#tjA#+o5g!Uj<~MohkB1~Hhad=&IdD45mBelzhnhX zww-VwzF@nHSDVTYKFRl9B^JI)?C57ux8&O_#zuU~@M+>h-DwKM+fpM|&-bz9)iz^d zgXF{A%x`PntI?W}HVfJ@i?#(;qbU zVq!q-bou0^r|hpoVbwVylC`0NYfbo9BI81R$+3B;&*>ceCDtv|6YgoHE$qkEBO#%A zZBVp0A}KNdYLCf1jtS3~&;C>`6_nj~>daE<(R^-gOLqB7wfZn~&mQ{oT?XU!ul`m0 zgOO>}=Th_4XOKoxghDxzxtl`>|=cQx6FU_Uq z^^fZw&_Y}jA|n) zQR2DFUlT^_b)J8>D@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.js +++ b/scripts/demo.js @@ -360,12 +360,16 @@ function createDemoScene(scene) { ground.material = groundMaterial1; ground.checkCollisions = true; + var textSalle1 = new BABYLON.StandardMaterial("texture4", scene); + textSalle1.diffuseTexture = new BABYLON.Texture("images/text.png", scene); + textSalle1.specularColor = new BABYLON.Color3(0, 0, 0); + var mur1 = BABYLON.Mesh.CreatePlane("mur1", 50, scene); mur1.rotation.y = Math.PI / 2; mur1.position.y = -15; mur1.position.x = 25; mur1.visibility = 1; - mur1.material = wall; + mur1.material = textSalle1; mur1.checkCollisions = true; var mur2 = BABYLON.Mesh.CreatePlane("mur2", 50, scene);