Skip to content

Commit

Permalink
Import updates
Browse files Browse the repository at this point in the history
  • Loading branch information
FranklinBarto committed Feb 11, 2024
1 parent 77dedbe commit b11b68a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/moon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Moon: React.FC = () => {
const textureLoader = new THREE.TextureLoader();
// const texture = textureLoader.load(moon);
const texture = textureLoader.load(
'../moon/moon.jpg',
moon.src,
// onLoad callback
function(texture) {
console.log('Texture loaded successfully:', texture);
Expand All @@ -43,7 +43,7 @@ const Moon: React.FC = () => {

// Load a bump map
const bumpMap = textureLoader.load(
'../moon/moon_normal.png',
bump.src,
// onLoad callback
function(texture) {
console.log('Texture loaded successfully:', texture);
Expand Down

0 comments on commit b11b68a

Please sign in to comment.