Skip to content

Commit

Permalink
Evenement HB : On (et cela fonctionne enfin)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalyptien committed Jul 25, 2024
1 parent a07c1e8 commit c2a28e1
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion public/MaskAifa2.gltf → public/mask.gltf
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
"buffers":[
{
"byteLength":230272,
"uri":"MaskAifa2.bin"
"uri":"mask.bin"
}
]
}
Binary file modified src/assets/MaskBlack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/MaskColor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/js/HBThreejs.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ const initHBThreeJS = () => {
renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2))
renderer.render(scene, camera)
}

}

//Loader & Textures
Expand All @@ -105,7 +106,7 @@ const initHBThreeJS = () => {
const gltfLoader = new GLTFLoader()

gltfLoader.load(
'maskAifa2.gltf',
'mask.gltf',
(obj) => {
model = obj.scene

Expand Down

0 comments on commit c2a28e1

Please sign in to comment.