Skip to content

Commit

Permalink
Cambio de posición del svg y emparentado el tema de la altura a un em…
Browse files Browse the repository at this point in the history
…pty llamado: "ControladorAltura".
  • Loading branch information
emanuelmino committed Jan 3, 2024
1 parent e79b82c commit 51d02fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions model.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ export function loadModel(loader, scene, showRoom = false) {
const geometry = new THREE.PlaneGeometry(4, 4);
geometry.rotateX(-Math.PI / 2);

textureUp = new THREE.TextureLoader().load('elevado.png');
textureDown = new THREE.TextureLoader().load('base.png');

textureUp = new THREE.TextureLoader().load('shadowv3.jpg');
textureDown = new THREE.TextureLoader().load('shadowv3.jpg');
const material = new THREE.MeshBasicMaterial({
map: textureUp,
//alphaMap: textureUp,
Expand Down
Binary file added public/shadowv3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 51d02fa

Please sign in to comment.